From a7424d73d3a122721e5b4ab88d1506367e762bec Mon Sep 17 00:00:00 2001 From: Acrobot Date: Sun, 28 Jul 2013 16:59:44 +0200 Subject: [PATCH] Register the new listener --- src/main/java/com/Acrobot/ChestShop/ChestShop.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/Acrobot/ChestShop/ChestShop.java b/src/main/java/com/Acrobot/ChestShop/ChestShop.java index f68bd4a..3c21904 100644 --- a/src/main/java/com/Acrobot/ChestShop/ChestShop.java +++ b/src/main/java/com/Acrobot/ChestShop/ChestShop.java @@ -18,10 +18,7 @@ import com.Acrobot.ChestShop.Listeners.Item.ItemMoveListener; import com.Acrobot.ChestShop.Listeners.ItemInfoListener; import com.Acrobot.ChestShop.Listeners.Modules.DiscountModule; import com.Acrobot.ChestShop.Listeners.Modules.PriceRestrictionModule; -import com.Acrobot.ChestShop.Listeners.Player.PlayerConnect; -import com.Acrobot.ChestShop.Listeners.Player.PlayerInteract; -import com.Acrobot.ChestShop.Listeners.Player.PlayerInventory; -import com.Acrobot.ChestShop.Listeners.Player.ShortNameSaver; +import com.Acrobot.ChestShop.Listeners.Player.*; import com.Acrobot.ChestShop.Listeners.PostShopCreation.CreationFeeGetter; import com.Acrobot.ChestShop.Listeners.PostShopCreation.MessageSender; import com.Acrobot.ChestShop.Listeners.PostShopCreation.SignSticker; @@ -184,6 +181,7 @@ public class ChestShop extends JavaPlugin { registerEvent(new PlayerConnect()); registerEvent(new PlayerInteract()); registerEvent(new PlayerInventory()); + registerEvent(new PlayerTeleport()); registerEvent(new ItemInfoListener());