Actually fix door crash
This commit is contained in:
parent
7da3b7fc62
commit
0d53f6c029
1 changed files with 4 additions and 0 deletions
|
@ -83,6 +83,10 @@ public abstract class BaseItemDoor extends ItemDoor
|
|||
{
|
||||
item = BaseItemDoor.vanillaDoorMapping.get(item);
|
||||
}
|
||||
if(item == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return ((BaseItemDoor) item).getDoortoItemMapping();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue