mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-16 02:39:48 -04:00
Fixed the adapter. Closes #1188.
This commit is contained in:
parent
605d642787
commit
4e660edc55
@ -47,7 +47,7 @@ class Adapter extends traits.Environment with traits.ComponentInventory with Ana
|
||||
def neighborChanged(d: EnumFacing) {
|
||||
if (node != null && node.network != null) {
|
||||
val blockPos = getPos.offset(d)
|
||||
world.getTileEntity(getPos) match {
|
||||
world.getTileEntity(blockPos) match {
|
||||
case env: traits.Environment =>
|
||||
// Don't provide adaption for our stuffs. This is mostly to avoid
|
||||
// cables and other non-functional stuff popping up in the adapter
|
||||
|
Loading…
x
Reference in New Issue
Block a user