mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-09-10 20:29:28 +00:00
derp
That's why switch statements are bad.
This commit is contained in:
parent
020f2c3ea5
commit
77df82eaff
|
@ -62,6 +62,7 @@ public class Commandtp extends EssentialsCommand
|
||||||
target2.getTeleport().now(location, false, TeleportCause.COMMAND);
|
target2.getTeleport().now(location, false, TeleportCause.COMMAND);
|
||||||
user.sendMessage(_("teleporting"));
|
user.sendMessage(_("teleporting"));
|
||||||
target2.sendMessage(_("teleporting"));
|
target2.sendMessage(_("teleporting"));
|
||||||
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
default:
|
default:
|
||||||
if (!user.isAuthorized("essentials.tp.others"))
|
if (!user.isAuthorized("essentials.tp.others"))
|
||||||
|
|
Loading…
Reference in a new issue