1
0
mirror of https://github.com/EngineHub/WorldGuard.git synced 2025-03-02 11:11:34 +01:00

Commented out WorldGuardListener.onInventoryChange().

This commit is contained in:
sk89q 2011-01-08 01:33:20 -08:00
parent 16bbd30209
commit 802114c605

View File

@ -581,7 +581,7 @@ public boolean onItemPickUp(Player player, Item item) {
* player who's inventory was modified * player who's inventory was modified
* @return true if you want any changes to be reverted * @return true if you want any changes to be reverted
*/ */
@Override /*@Override
public boolean onInventoryChange(Player player) { public boolean onInventoryChange(Player player) {
if (blacklist != null && blacklist.hasOnAcquire()) { if (blacklist != null && blacklist.hasOnAcquire()) {
Item[] items = player.getInventory().getContents(); Item[] items = player.getInventory().getContents();
@ -602,7 +602,7 @@ public boolean onInventoryChange(Player player) {
} }
return false; return false;
} }*/
/** /**
* Called when a player uses an item (rightclick with item in hand) * Called when a player uses an item (rightclick with item in hand)