mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-23 05:53:54 +00:00
Renamed the Charge class to Trade
This commit is contained in:
parent
adc7502115
commit
fd2d2456b9
15 changed files with 34 additions and 34 deletions
|
@ -1,6 +1,6 @@
|
|||
package com.earth2me.essentials.commands;
|
||||
|
||||
import com.earth2me.essentials.Charge;
|
||||
import com.earth2me.essentials.Trade;
|
||||
import com.earth2me.essentials.Console;
|
||||
import org.bukkit.Server;
|
||||
import com.earth2me.essentials.User;
|
||||
|
@ -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.getName(), ess);
|
||||
Trade charge = new Trade(this.getName(), ess);
|
||||
charge.isAffordableFor(user);
|
||||
user.getTeleport().teleport(p, charge);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue