MobWrapper bug fixes

This commit is contained in:
GB6 2019-03-21 16:00:31 +01:00
parent 49bfa0ef90
commit fb22845bcb
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ public class MobWrapper {
livingEntity.getEquipment().setHelmetDropChance(dropChance);
livingEntity.getEquipment().setChestplateDropChance(dropChance);
if (handItem != null) livingEntity.getEquipment().setItemInMainHand(handItem.buildWithWrappers(level));
livingEntity.getEquipment().setItemInMainHandDropChance(dropChance);
if (handItem != null) livingEntity.getEquipment().setItemInHand(handItem.buildWithWrappers(level));
livingEntity.getEquipment().setItemInHandDropChance(dropChance);
}
if (entity instanceof Monster && opponent != null) {