mirror of
https://github.com/GTNewHorizons/Draconic-Evolution.git
synced 2026-10-25 20:22:19 +00:00
Fix nullPointerException (#87)
This commit is contained in:
1 parent
7ada07b5ac
commit
245b5c7b06
1 file changed
+5
-1
+5
-1
@@ -314,7 +314,11 @@ public class TileReactorStabilizer extends TileEntity
|
||||
@Override
|
||||
public int getInventoryStackLimit() {
|
||||
TileReactorCore core = getMaster();
|
||||
return core.getInventoryStackLimit();
|
||||
if (core != null) {
|
||||
return core.getInventoryStackLimit();
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user