1
0
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:
snowleo
2012-04-12 23:57:19 +03:00
parent 85e46dfc4e
commit 7a79e204aa

View File

@@ -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();
} }
} }