mob is coming!!

This commit is contained in:
StevenRS11
2013-05-27 08:10:07 -04:00
parent 5b61f6435d
commit 1233e2a040
31 changed files with 260 additions and 78 deletions

View File

@@ -2,11 +2,11 @@
package StevenDimDoors.mod_pocketDim;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.item.ItemArmor;
import cpw.mods.fml.common.IPlayerTracker;
@@ -48,7 +48,11 @@ public class PlayerRespawnTracker implements IPlayerTracker
{
for(EntityItem drop : mod_pocketDim.limboSpawnInventory.get(player.username))
{
if(drop.getEntityItem().getItem() instanceof ItemArmor)
{
}
player.inventory.addItemStackToInventory(drop.getEntityItem());