mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Fix crate locked slot
This commit is contained in:
parent
a40d0b3513
commit
f820ae32e2
@ -25,8 +25,10 @@ public class ContainerCrateBase extends ContainerBase {
|
|||||||
|
|
||||||
for(int i = 0; i < 9; i++) {
|
for(int i = 0; i < 9; i++) {
|
||||||
this.addSlotToContainer(
|
this.addSlotToContainer(
|
||||||
invPlayer.currentItem == i ? new SlotPlayerCrateLocked(invPlayer, i, playerInvX + i * 18, playerHotbarY) :
|
(invPlayer.currentItem == i && this.tile instanceof ItemBlockStorageCrate.InventoryCrate) ?
|
||||||
new SlotNonRetarded(invPlayer, i, playerInvX + i * 18, playerHotbarY));
|
new SlotPlayerCrateLocked(invPlayer, i, playerInvX + i * 18, playerHotbarY) :
|
||||||
|
new SlotNonRetarded(invPlayer, i, playerInvX + i * 18, playerHotbarY)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user