mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-10-01 16:17:28 +02:00
Updated for new version of durability fix.
This commit is contained in:
parent
c3eef60672
commit
bc70678387
@ -351,7 +351,7 @@ public boolean onItemDrop(Player player, Item item) {
|
||||
}
|
||||
|
||||
if (!itemDurability) {
|
||||
item.setHealth(0);
|
||||
item.setDamage(0);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user