1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-11 00:55:10 +02:00

Renamed the Charge class to Trade

This commit is contained in:
snowleo
2011-06-13 15:05:11 +02:00
parent adc7502115
commit fd2d2456b9
15 changed files with 34 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
package com.earth2me.essentials.spawn;
import com.earth2me.essentials.Charge;
import com.earth2me.essentials.Trade;
import org.bukkit.Server;
import com.earth2me.essentials.Essentials;
import com.earth2me.essentials.IEssentials;
@@ -19,7 +19,7 @@ public class Commandspawn extends EssentialsCommand
public void run(Server server, User user, String commandLabel, String[] args) throws Exception
{
final IEssentials ess = Essentials.getStatic();
final Charge charge = new Charge(this.getName(), ess);
final Trade charge = new Trade(this.getName(), ess);
charge.isAffordableFor(user);
user.getTeleport().respawn(ess.getSpawn(), charge);
}