mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-02-01 04:51:27 +01:00
Commented out WorldGuardListener.onInventoryChange().
This commit is contained in:
parent
16bbd30209
commit
802114c605
@ -581,7 +581,7 @@ public boolean onItemPickUp(Player player, Item item) {
|
||||
* player who's inventory was modified
|
||||
* @return true if you want any changes to be reverted
|
||||
*/
|
||||
@Override
|
||||
/*@Override
|
||||
public boolean onInventoryChange(Player player) {
|
||||
if (blacklist != null && blacklist.hasOnAcquire()) {
|
||||
Item[] items = player.getInventory().getContents();
|
||||
@ -602,7 +602,7 @@ public boolean onInventoryChange(Player player) {
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}*/
|
||||
|
||||
/**
|
||||
* Called when a player uses an item (rightclick with item in hand)
|
||||
|
Loading…
Reference in New Issue
Block a user