Fixed not being able to extract Mekanism tanks and bins from the Grid, fixes #1415
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
- Fixed Grid GUI crash (raoulvdberge)
|
- Fixed Grid GUI crash (raoulvdberge)
|
||||||
- Fixed device names overflowing Controller GUI (raoulvdberge)
|
- Fixed device names overflowing Controller GUI (raoulvdberge)
|
||||||
- Fixed high CPU load when Refined Storage GUIs are open (raoulvdberge)
|
- Fixed high CPU load when Refined Storage GUIs are open (raoulvdberge)
|
||||||
|
- Fixed not being able to extract Mekanism tanks and bins from the Grid (raoulvdberge)
|
||||||
|
|
||||||
### 1.5.18
|
### 1.5.18
|
||||||
- Added Project E integration for the External Storage on the Transmutation Table (raoulvdberge)
|
- Added Project E integration for the External Storage on the Transmutation Table (raoulvdberge)
|
||||||
|
@@ -38,7 +38,8 @@ public class ItemGridHandler implements IItemGridHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int itemSize = item.getCount();
|
int itemSize = item.getCount();
|
||||||
int maxItemSize = item.getItem().getItemStackLimit(item);
|
// We copy here because some mods change the NBT tag of an item after getting the stack limit
|
||||||
|
int maxItemSize = item.getItem().getItemStackLimit(item.copy());
|
||||||
|
|
||||||
boolean single = (flags & EXTRACT_SINGLE) == EXTRACT_SINGLE;
|
boolean single = (flags & EXTRACT_SINGLE) == EXTRACT_SINGLE;
|
||||||
|
|
||||||
|
@@ -38,7 +38,8 @@ public class ItemGridHandlerPortable implements IItemGridHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int itemSize = item.getCount();
|
int itemSize = item.getCount();
|
||||||
int maxItemSize = item.getItem().getItemStackLimit(item);
|
// We copy here because some mods change the NBT tag of an item after getting the stack limit
|
||||||
|
int maxItemSize = item.getItem().getItemStackLimit(item.copy());
|
||||||
|
|
||||||
boolean single = (flags & EXTRACT_SINGLE) == EXTRACT_SINGLE;
|
boolean single = (flags & EXTRACT_SINGLE) == EXTRACT_SINGLE;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user