respawn handler and config changes

This commit is contained in:
StevenRS11
2013-05-31 02:17:05 -04:00
parent 0d51e5aa46
commit 6a95c9eb33
99 changed files with 305 additions and 95 deletions

View File

@@ -85,9 +85,14 @@ public class ItemStabilizedRiftSignature extends itemLinkSignature
boolean hasEnder = false;
// checks to see if the item has a link stored, if so, it creates it
if(par2EntityPlayer.inventory.hasItem(Item.enderPearl.itemID))
if(par2EntityPlayer.inventory.hasItem(Item.enderPearl.itemID)||par2EntityPlayer.inventory.hasItem(mod_pocketDim.itemStableFabricID))
{
par2EntityPlayer.inventory.consumeInventoryItem(Item.enderPearl.itemID);
if(!par2EntityPlayer.inventory.consumeInventoryItem(mod_pocketDim.itemStableFabricID))
{
par2EntityPlayer.inventory.consumeInventoryItem(Item.enderPearl.itemID);
}
hasEnder=true;
}