mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 20:22:12 +00:00
#1153 Item conduits crash with invalid item stacks (one without an item assigned)
This commit is contained in:
1 parent
fd7caeb1ab
commit
2cc2c4de77
2 files changed
+3
-2
No files matched your search
@@ -171,7 +171,7 @@ public class NetworkedInventory {
|
||||
}
|
||||
|
||||
private boolean doTransfer(ItemStack extractedItem, int slot, int maxExtract) {
|
||||
if(extractedItem == null) {
|
||||
if(extractedItem == null || extractedItem.getItem() == null) {
|
||||
return false;
|
||||
}
|
||||
ItemStack toExtract = extractedItem.copy();
|
||||
|
||||
Reference in new issue
Block a user