mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-10-03 00:57:34 +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) {
|
if (!itemDurability) {
|
||||||
item.setHealth(0);
|
item.setDamage(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user