Don't check inventory clicks in creative due to massive event spam

This commit is contained in:
h31ix committed 2012-12-22 01:11:14 -05:00
1 parent 0cbe96c748
commit b48e97a799
1 file changed
+4
@@ -1019,6 +1019,10 @@ public class Backend
public boolean checkInventoryClicks(Player player)
{
if (player.getGameMode() == GameMode.CREATIVE)
{
return false;
}
String name = player.getName();
int clicks = 1;
if (inventoryClicks.containsKey(name))