From ee8f3a6629102cad9b05cee95d80af7975fec567 Mon Sep 17 00:00:00 2001 From: reobf <117543727+reobf@users.noreply.github.com> Date: Thu, 26 Sep 2024 10:24:15 +0800 Subject: [PATCH] fix --- .../java/gregtech/api/metatileentity/BaseMetaPipeEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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--;