shitboner

This commit is contained in:
HbmMods 2026-06-21 18:32:16 +02:00
parent 7fdd48f29f
commit c06957824e
5 changed files with 3233 additions and 4 deletions

View File

@ -200,7 +200,7 @@ public class StackCache {
long identity = Item.getIdFromItem(item) * 27644437;
identity += meta;
identity *= 27644437;
if(nbt != null) identity += nbt.toString().hashCode();
if(nbt != null) identity += nbt.hashCode();
return identity;
}
}

View File

@ -36,11 +36,11 @@ public class ContainerPneumoStorageMono extends ContainerBase {
if(index < 0 || index >= 3) {
return super.slotClick(index, button, mode, player);
}
TileEntityPneumoStorageMono mono = (TileEntityPneumoStorageMono) this.tile;
if(mono.amounts[index] > 0) return null;
Slot slot = this.getSlot(index);
TileEntityPneumoStorageMono mono = (TileEntityPneumoStorageMono) this.tile;
if(mono.amounts[index] > 0 && slot.getHasStack()) return null;
ItemStack ret = null;
ItemStack held = player.inventory.getItemStack();

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B