mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
derp
That's why switch statements are bad.
This commit is contained in:
parent
020f2c3ea5
commit
77df82eaff
1 changed files with 1 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue