mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-09-06 13:08:04 +02:00
Fix double charge in /jump
This commit is contained in:
parent
bbd2c53dd8
commit
2d319fe5aa
@ -37,5 +37,6 @@ public class Commandjump extends EssentialsCommand
|
||||
final Trade charge = new Trade(this.getName(), ess);
|
||||
charge.isAffordableFor(user);
|
||||
user.getTeleport().teleport(loc, charge, TeleportCause.COMMAND);
|
||||
throw new NoChargeException();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user