mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 03:36:47 -04:00
Fixed swapping EEPROMs in MCUs. Closes #1814.
This commit is contained in:
parent
7cdf378fd9
commit
0817c6de08
@ -1,6 +1,8 @@
|
||||
package li.cil.oc.common.item
|
||||
|
||||
import li.cil.oc.Settings
|
||||
import li.cil.oc.util.BlockPosition
|
||||
import net.minecraft.entity.player.EntityPlayer
|
||||
import net.minecraft.item.ItemStack
|
||||
|
||||
class EEPROM(val parent: Delegator) extends traits.Delegate {
|
||||
@ -16,4 +18,6 @@ class EEPROM(val parent: Delegator) extends traits.Delegate {
|
||||
}
|
||||
super.displayName(stack)
|
||||
}
|
||||
|
||||
override def doesSneakBypassUse(position: BlockPosition, player: EntityPlayer): Boolean = true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user