Fixed the GC issues
This commit is contained in:
parent
b34ff3c58e
commit
5a4bb6e8e8
4 changed files with 16 additions and 9 deletions
|
@ -66,11 +66,6 @@ public class SacrificialDagger extends Item
|
|||
par2World.spawnParticle("reddust", posX + Math.random() - Math.random(), posY + Math.random() - Math.random(), posZ + Math.random() - Math.random(), f1, f2, f3);
|
||||
}
|
||||
|
||||
if (!par2World.isRemote && !(par3EntityPlayer.getClass().equals(EntityPlayerMP.class)))
|
||||
{
|
||||
return par1ItemStack;
|
||||
}
|
||||
|
||||
findAndFillAltar(par2World, par3EntityPlayer, 200);
|
||||
|
||||
if (par3EntityPlayer.getHealth() <= 0.5f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue