moved rift sigs over to use nbt data

fixed limbo inventory issues
changed rift generation on dim door placement

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
This commit is contained in:
StevenRS11
2013-04-13 21:15:06 -04:00
parent 2d6d430277
commit f816e96bdb
4 changed files with 24 additions and 14 deletions

View File

@@ -38,15 +38,22 @@ public class PlayerRespawnTracker implements IPlayerTracker
if(player.worldObj.provider.dimensionId==mod_pocketDim.limboDimID)
{
if(!player.worldObj.isRemote)
if(!player.worldObj.isRemote&&mod_pocketDim.returnInventory)
{
for(EntityItem drop : mod_pocketDim.limboSpawnInventory.get(player.username))
if(player.username!=null)
{
player.inventory.addItemStackToInventory(drop.getEntityItem());
if(!mod_pocketDim.limboSpawnInventory.isEmpty()&&mod_pocketDim.limboSpawnInventory.containsKey(player.username))
{
for(EntityItem drop : mod_pocketDim.limboSpawnInventory.get(player.username))
{
player.inventory.addItemStackToInventory(drop.getEntityItem());
}
}
}