mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-25 06:53:37 +00:00
Several bug fixes and cleanup.
Found using PMD and FindBugs. git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1553 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
2a614e53a7
commit
117d938ac5
74 changed files with 645 additions and 354 deletions
|
@ -30,7 +30,7 @@ public class Commandtp extends EssentialsCommand
|
|||
throw new Exception(Util.format("teleportDisabled", p.getDisplayName()));
|
||||
}
|
||||
user.sendMessage(Util.i18n("teleporting"));
|
||||
Charge charge = new Charge(this);
|
||||
Charge charge = new Charge(this.getName(), ess);
|
||||
charge.isAffordableFor(user);
|
||||
user.getTeleport().teleport(p, charge);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue