mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-29 00:16:27 +01:00
Maybe fix NPE in basin tile entity. Probably should check more thoroughly, but this should patch it for now
This commit is contained in:
parent
02ff18fcce
commit
e4a340deef
1 changed files with 6 additions and 6 deletions
|
@ -453,7 +453,7 @@ public class BasinTileEntity extends SmartTileEntity implements IHaveGoggleInfor
|
|||
|
||||
if (targetInv == null && !outputItems.isEmpty())
|
||||
return false;
|
||||
FilteringBehaviour filter = TileEntityBehaviour.get(world, te.getPos(), FilteringBehaviour.TYPE);
|
||||
FilteringBehaviour filter = world == null || te == null ? null : TileEntityBehaviour.get(world, te.getPos(), FilteringBehaviour.TYPE);
|
||||
for (ItemStack itemStack : outputItems) {
|
||||
// Catalyst items are never consumed
|
||||
if (itemStack.hasContainerItem() && itemStack.getContainerItem()
|
||||
|
|
Loading…
Reference in a new issue