mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-03 01:19:58 +01:00
Merge branch 'master' of https://github.com/essentials/Essentials
This commit is contained in:
commit
90d2451ce2
@ -37,5 +37,6 @@ public class Commandjump extends EssentialsCommand
|
|||||||
final Trade charge = new Trade(this.getName(), ess);
|
final Trade charge = new Trade(this.getName(), ess);
|
||||||
charge.isAffordableFor(user);
|
charge.isAffordableFor(user);
|
||||||
user.getTeleport().teleport(loc, charge, TeleportCause.COMMAND);
|
user.getTeleport().teleport(loc, charge, TeleportCause.COMMAND);
|
||||||
|
throw new NoChargeException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user