mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 00:07:37 +00:00
fix scrolling issues due to container updates from server
This commit is contained in:
1 parent
48f5e6fec2
commit
f728eb1a15
1 file changed
+5
-2
@@ -167,8 +167,11 @@ public class InventoryChiselSelection implements IInventory {
|
||||
|
||||
@Override
|
||||
public void setInventorySlotContents(int slot, ItemStack stack) {
|
||||
inventory[slot] = stack;
|
||||
updateInventoryState(slot);
|
||||
// we do not want external chisel variant updates
|
||||
if (slot == normalSlots) {
|
||||
inventory[slot] = stack;
|
||||
updateInventoryState(slot);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user