mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-22 22:34:43 +02:00
Fix double charge in /jump
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user