mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-20 18:46:33 -04:00
parent
618323a701
commit
69c9240426
@ -9,7 +9,7 @@ trait LockedHotbar extends GuiContainer {
|
||||
def lockedStack: ItemStack
|
||||
|
||||
override def handleMouseClick(slot: Slot, slotId: Int, mouseButton: Int, clickType: ClickType): Unit = {
|
||||
if (slot == null || slot.getStack != lockedStack) {
|
||||
if (slot == null || !slot.getStack.isItemEqual(lockedStack)) {
|
||||
super.handleMouseClick(slot, slotId, mouseButton, clickType)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user