That's why switch statements are bad.
This commit is contained in:
Alexander Schepp 2012-12-16 13:59:25 +01:00
parent 020f2c3ea5
commit 77df82eaff

View file

@ -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"))