diff --git a/src/main/scala/li/cil/oc/common/tileentity/Adapter.scala b/src/main/scala/li/cil/oc/common/tileentity/Adapter.scala index 2960a298e..8fe17ed08 100644 --- a/src/main/scala/li/cil/oc/common/tileentity/Adapter.scala +++ b/src/main/scala/li/cil/oc/common/tileentity/Adapter.scala @@ -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