Skip to content

Commit

Permalink
Fix Effortless Building only being able to use the stack in hand
Browse files Browse the repository at this point in the history
  • Loading branch information
Irgendwer01 committed Dec 9, 2024
1 parent bcd4248 commit 4a02e18
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ private static void utPlaceBlock(World world, EntityPlayer player, BlockPos pos,
{
if (!UTConfigMods.EFFORTLESS_BUILDING.utEFTransmutationFixToggle) return;
int meta = blockState.getBlock().damageDropped(blockState);
origstack = ItemStack.EMPTY;
for (int i = 0; i < player.inventory.mainInventory.size(); i++)
{
ItemStack stack = player.inventory.mainInventory.get(i);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mixins.mods.effortlessbuilding.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"refmap": "universaltweaks.refmap.json",
"minVersion": "0.8",
"compatibilityLevel": "JAVA_8",
"mixins": ["UTInventoryHelperMixin", "UTSurvivalHelperMixin", "UTUndoRedoMixin"]
"mixins": ["UTSurvivalHelperMixin", "UTUndoRedoMixin"]
}

0 comments on commit 4a02e18

Please sign in to comment.