Skip to content

Commit

Permalink
fix symmetry wand causing a stack overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TropheusJ committed Aug 6, 2023
1 parent b201b6c commit 9b55387
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static void onBlockPlaced(BlockPlaceContext context) {
}

public static boolean onBlockDestroyed(Level world, Player player, BlockPos pos, BlockState state, /* Nullable */ BlockEntity blockEntity) {
if (handlingSymmetry && AdventureUtil.isAdventure(player))
if (handlingSymmetry || AdventureUtil.isAdventure(player))
return true;

if (world
Expand Down

0 comments on commit 9b55387

Please sign in to comment.