summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn/src/com
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-06-13 15:05:11 +0200
committersnowleo <schneeleo@gmail.com>2011-06-13 15:05:11 +0200
commitc38191951c2280f4ab012f24490a5d575406aca4 (patch)
tree3712b5af4788b836d2fff8cd04bd97ca58baf3dc /EssentialsSpawn/src/com
parentd660b23ce4f980a573de1febe5b6760299d03893 (diff)
downloadEssentials-c38191951c2280f4ab012f24490a5d575406aca4.tar
Essentials-c38191951c2280f4ab012f24490a5d575406aca4.tar.gz
Essentials-c38191951c2280f4ab012f24490a5d575406aca4.tar.lz
Essentials-c38191951c2280f4ab012f24490a5d575406aca4.tar.xz
Essentials-c38191951c2280f4ab012f24490a5d575406aca4.zip
Renamed the Charge class to Trade
Diffstat (limited to 'EssentialsSpawn/src/com')
-rw-r--r--EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java b/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java
index 88a7c477b..5660c3778 100644
--- a/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java
+++ b/EssentialsSpawn/src/com/earth2me/essentials/spawn/Commandspawn.java
@@ -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);
}