diff options
author | reobf <117543727+reobf@users.noreply.github.com> | 2024-09-27 17:09:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-27 11:09:49 +0200 |
commit | b6d5e9ab5f6c2ccf756be9baeb8a08010aecf68b (patch) | |
tree | da78c4b798371c79bb0eb0f5fbefe127719d7b28 /src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java | |
parent | e9fe2d86f47121b308f08eab6162c51fa3d6aa01 (diff) | |
download | GT5-Unofficial-b6d5e9ab5f6c2ccf756be9baeb8a08010aecf68b.tar.gz GT5-Unofficial-b6d5e9ab5f6c2ccf756be9baeb8a08010aecf68b.tar.bz2 GT5-Unofficial-b6d5e9ab5f6c2ccf756be9baeb8a08010aecf68b.zip |
Fix BaseMetaPipeEntity pass wrong side argument to 'onPlayerAttach' (#3288)
Diffstat (limited to 'src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java')
-rw-r--r-- | src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java b/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java index 30a1561f20..0ef1d196e9 100644 --- a/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java +++ b/src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java @@ -960,7 +960,7 @@ public class BaseMetaPipeEntity extends CommonMetaTileEntity && 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--; |