summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-08-21 20:45:27 +0100
committerKHobbits <rob@khobbits.co.uk>2012-08-21 20:45:27 +0100
commit304ef82d60c1f9032e6ac053dcbd8c1c83d4919b (patch)
tree3392730636675c76eb90bb11eab88e248b599c60
parentc9c0c847219c7e99b8e3a74891df39372b3677b5 (diff)
downloadEssentials-304ef82d60c1f9032e6ac053dcbd8c1c83d4919b.tar
Essentials-304ef82d60c1f9032e6ac053dcbd8c1c83d4919b.tar.gz
Essentials-304ef82d60c1f9032e6ac053dcbd8c1c83d4919b.tar.lz
Essentials-304ef82d60c1f9032e6ac053dcbd8c1c83d4919b.tar.xz
Essentials-304ef82d60c1f9032e6ac053dcbd8c1c83d4919b.zip
Remove debug messages.
-rw-r--r--Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
index 7468f0771..53962cef4 100644
--- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
+++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java
@@ -435,15 +435,12 @@ public class EssentialsPlayerListener implements Listener
@EventHandler(priority = EventPriority.LOWEST)
public void onInventoryClickEvent(final InventoryClickEvent event)
{
- ess.getLogger().info("Detected invent click");
if (event.getView().getTopInventory().getType() == InventoryType.PLAYER)
{
- ess.getLogger().info("This is a player/player inventory click");
final User user = ess.getUser(event.getWhoClicked());
final InventoryHolder invHolder = event.getView().getTopInventory().getHolder();
if (invHolder != null && invHolder instanceof HumanEntity)
{
- ess.getLogger().info("Confirmed the top inventory belongs to a valid human.");
final User invOwner = ess.getUser((HumanEntity)invHolder);
if (user.isInvSee() && (!user.isAuthorized("essentials.invsee.modify")
|| invOwner.isAuthorized("essentials.invsee.preventmodify")