From 1260e875fdbde9d74ba2befa802e2a085ba4001e Mon Sep 17 00:00:00 2001 From: Shaun Bennett Date: Wed, 17 Dec 2014 18:38:35 -0600 Subject: [PATCH] Add clans to intellij. Update button --- Plugins/.idea/modules.xml | 7 +++-- .../Mineplex.Game.Clans.iml | 16 ++++++++++ .../game/clans/shop/PvpShopButton.java | 30 +++++++------------ 3 files changed, 30 insertions(+), 23 deletions(-) create mode 100644 Plugins/Mineplex.Game.Clans/Mineplex.Game.Clans.iml diff --git a/Plugins/.idea/modules.xml b/Plugins/.idea/modules.xml index 7da29f6c1..ea2ba738a 100644 --- a/Plugins/.idea/modules.xml +++ b/Plugins/.idea/modules.xml @@ -7,14 +7,15 @@ + - - + + - + \ No newline at end of file diff --git a/Plugins/Mineplex.Game.Clans/Mineplex.Game.Clans.iml b/Plugins/Mineplex.Game.Clans/Mineplex.Game.Clans.iml new file mode 100644 index 000000000..b896f358d --- /dev/null +++ b/Plugins/Mineplex.Game.Clans/Mineplex.Game.Clans.iml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/shop/PvpShopButton.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/shop/PvpShopButton.java index 1117664e5..32ba842fc 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/shop/PvpShopButton.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/shop/PvpShopButton.java @@ -1,12 +1,13 @@ package mineplex.game.clans.shop; import org.bukkit.entity.Player; +import org.bukkit.event.inventory.ClickType; -import mineplex.core.shop.item.ComplexButton; +import mineplex.core.shop.item.IButton; import mineplex.core.shop.page.ShopPageBase; import mineplex.game.clans.clans.ClansManager; -public class PvpShopButton> extends ComplexButton +public class PvpShopButton> implements IButton { protected PageType Page; protected PvpItem Item; @@ -16,27 +17,16 @@ public class PvpShopButton