Cleanup and texture improvments

This commit is contained in:
John Yorke committed 2017-07-22 00:31:39 -03:00
1 parent cc77874e71
commit 11221eac84
28 files changed
+211 -118

No files matched your search

@@ -36,8 +36,8 @@ import taintedmagic.client.model.ModelKatana;
import taintedmagic.client.model.ModelSaya;
import taintedmagic.common.TaintedMagic;
import taintedmagic.common.entities.EntityTaintBubble;
import taintedmagic.common.network.PacketKatanaAttack;
import taintedmagic.common.network.PacketHandler;
import taintedmagic.common.network.PacketKatanaAttack;
import thaumcraft.api.IRepairable;
import thaumcraft.api.IWarpingGear;
import thaumcraft.common.config.Config;
@@ -294,10 +294,10 @@ public class ItemKatana extends Item implements IWarpingGear, IRepairable
@SubscribeEvent
public void onPlayerRender (RenderPlayerEvent.Specials.Post event)
{
if (event.entityLiving.getActivePotionEffect(Potion.invisibility) != null) return;
EntityPlayer p = event.entityPlayer;
if (p.getActivePotionEffect(Potion.invisibility) != null) return;
for (int i = 0; i < p.inventory.getSizeInventory(); i++)
{
if (p.inventory.getStackInSlot(i) != null && p.inventory.getStackInSlot(i).getItem() instanceof ItemKatana)