Actually fix door crash

This commit is contained in:
StevenRS11
2014-05-31 06:43:28 -04:00
parent 7da3b7fc62
commit 0d53f6c029

View File

@@ -83,6 +83,10 @@ public abstract class BaseItemDoor extends ItemDoor
{ {
item = BaseItemDoor.vanillaDoorMapping.get(item); item = BaseItemDoor.vanillaDoorMapping.get(item);
} }
if(item == null)
{
return null;
}
return ((BaseItemDoor) item).getDoortoItemMapping(); return ((BaseItemDoor) item).getDoortoItemMapping();
} }