Skip to content

Commit

Permalink
Minor style change
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jan 1, 2016
1 parent bed35f6 commit 6975c66
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -109,8 +109,9 @@ public void onSpawn() {
enderman.setCarriedMaterial(equipment[0].getData());
} else {
EntityEquipment equip = getEquipmentFromEntity(npc.getEntity());
if (equipment[0] != null)
if (equipment[0] != null) {
equip.setItemInHand(equipment[0]);
}
equip.setHelmet(equipment[1]);
equip.setChestplate(equipment[2]);
equip.setLeggings(equipment[3]);
Expand Down

0 comments on commit 6975c66

Please sign in to comment.