summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Schepp <schneeleo@gmail.com>2012-12-16 13:59:25 +0100
committerAlexander Schepp <schneeleo@gmail.com>2012-12-16 13:59:25 +0100
commit77df82eaff9cd7f43b7936d4a70700f1b3491989 (patch)
tree28309f183b98f766afc1f00b7504a1afc6bdaab2
parent020f2c3ea5b496bd87470cd2dd929c8cd2876ab5 (diff)
downloadEssentials-77df82eaff9cd7f43b7936d4a70700f1b3491989.tar
Essentials-77df82eaff9cd7f43b7936d4a70700f1b3491989.tar.gz
Essentials-77df82eaff9cd7f43b7936d4a70700f1b3491989.tar.lz
Essentials-77df82eaff9cd7f43b7936d4a70700f1b3491989.tar.xz
Essentials-77df82eaff9cd7f43b7936d4a70700f1b3491989.zip
derp
That's why switch statements are bad.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandtp.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtp.java b/Essentials/src/com/earth2me/essentials/commands/Commandtp.java
index b2da82a2c..59dbc1a3e 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandtp.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandtp.java
@@ -62,6 +62,7 @@ public class Commandtp extends EssentialsCommand
target2.getTeleport().now(location, false, TeleportCause.COMMAND);
user.sendMessage(_("teleporting"));
target2.sendMessage(_("teleporting"));
+ break;
case 2:
default:
if (!user.isAuthorized("essentials.tp.others"))