mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-04 06:21:35 +01: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);
|
||||
user.sendMessage(_("teleporting"));
|
||||
target2.sendMessage(_("teleporting"));
|
||||
break;
|
||||
case 2:
|
||||
default:
|
||||
if (!user.isAuthorized("essentials.tp.others"))
|
||||
|
Loading…
Reference in New Issue
Block a user