summaryrefslogtreecommitdiffstats
path: root/EssentialsSpawn/src/com/earth2me
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
commitfd2d2456b94dadc91d864a12e88c6228f63e928e (patch)
tree59b9fbec9ae17986c8caa171d8a41b0a349b88c3 /EssentialsSpawn/src/com/earth2me
parentadc75021158bf00651f5941c2915b95be09c55b0 (diff)
downloadEssentials-fd2d2456b94dadc91d864a12e88c6228f63e928e.tar
Essentials-fd2d2456b94dadc91d864a12e88c6228f63e928e.tar.gz
Essentials-fd2d2456b94dadc91d864a12e88c6228f63e928e.tar.lz
Essentials-fd2d2456b94dadc91d864a12e88c6228f63e928e.tar.xz
Essentials-fd2d2456b94dadc91d864a12e88c6228f63e928e.zip
Renamed the Charge class to Trade
Diffstat (limited to 'EssentialsSpawn/src/com/earth2me')
-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);
}