mob equipment takes damage upon death
This commit is contained in:
1 parent
17f099386a
commit
64aef11c56
1 file changed
+1
@@ -368,6 +368,7 @@ public enum LootManager {
|
||||
|
||||
if (ml != null) {
|
||||
ml.setIsID(true);
|
||||
ml.setDurabilityCurrent((short)(ml.getDurabilityCurrent() - ThreadLocalRandom.current().nextInt(5) + 1));
|
||||
mob.getCharItemManager().addItemToInventory(ml);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user