diff --git a/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java b/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java index 30a1561f203..0ef1d196e93 100644 --- a/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java +++ b/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java @@ -960,7 +960,7 @@ public boolean onRightclick(EntityPlayer aPlayer, ForgeDirection side, float aX, && mMetaTileEntity.allowCoverOnSide(coverSide, new GTItemStack(tCurrentItem))) { setCoverItemAtSide(coverSide, tCurrentItem); - coverBehavior.onPlayerAttach(aPlayer, tCurrentItem, this, side); + coverBehavior.onPlayerAttach(aPlayer, tCurrentItem, this, coverSide); mMetaTileEntity.markDirty(); if (!aPlayer.capabilities.isCreativeMode) tCurrentItem.stackSize--;