From 7bef2d3817634a4c396e61930460126dde3606ba Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 27 Jun 2012 20:03:26 +1000 Subject: Cleanup signs, update and xmpp, more to come. --- EssentialsSigns/src/com/earth2me/essentials/signs/SignSpawnmob.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'EssentialsSigns/src/com/earth2me/essentials/signs/SignSpawnmob.java') diff --git a/EssentialsSigns/src/com/earth2me/essentials/signs/SignSpawnmob.java b/EssentialsSigns/src/com/earth2me/essentials/signs/SignSpawnmob.java index 577cc7a6b..e581c8516 100644 --- a/EssentialsSigns/src/com/earth2me/essentials/signs/SignSpawnmob.java +++ b/EssentialsSigns/src/com/earth2me/essentials/signs/SignSpawnmob.java @@ -1,10 +1,10 @@ package com.earth2me.essentials.signs; import com.earth2me.essentials.api.ChargeException; -import com.earth2me.essentials.economy.Trade; import com.earth2me.essentials.api.IEssentials; import com.earth2me.essentials.api.IUser; import com.earth2me.essentials.commands.Commandspawnmob; +import com.earth2me.essentials.economy.Trade; public class SignSpawnmob extends EssentialsSign @@ -22,14 +22,13 @@ public class SignSpawnmob extends EssentialsSign return true; } - //TODO: This should call a method not a command @Override protected boolean onSignInteract(ISign sign, IUser player, String username, IEssentials ess) throws SignException, ChargeException { final Trade charge = getTrade(sign, 3, ess); charge.isAffordableFor(player); - Commandspawnmob command = new Commandspawnmob(); + Commandspawnmob command = new Commandspawnmob(); command.init(ess, "spawnmob"); String[] args = new String[] { -- cgit v1.2.3