Post-merge fixups
In particular, act as if a spellbook has been discovered during tooltip generation if player is null. This allows JEI to index all the spell names.
This commit is contained in:
@@ -82,9 +82,9 @@ public class ItemSpectralArmour extends ItemArmor implements IConjuredItem {
|
||||
@Override
|
||||
public String getArmorTexture(ItemStack stack, Entity entity, EntityEquipmentSlot slot, String type){
|
||||
|
||||
if(slot == EntityEquipmentSlot.LEGS) return "wizardry:textures/armour/spectral_armour_legs.png";
|
||||
if(slot == EntityEquipmentSlot.LEGS) return "ebwizardry:textures/armour/spectral_armour_legs.png";
|
||||
|
||||
return "wizardry:textures/armour/spectral_armour.png";
|
||||
return "ebwizardry:textures/armour/spectral_armour.png";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user