Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
reobf authored Sep 26, 2024
1 parent 21999bb commit ee8f3a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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--;
Expand Down

0 comments on commit ee8f3a6

Please sign in to comment.