Skip to content

Commit

Permalink
Fix double call to addTransientAttributeModifiers causing deployer to…
Browse files Browse the repository at this point in the history
… retain attributes
  • Loading branch information
ezraisw committed Dec 16, 2024
1 parent 7dbf9e7 commit 8efd1d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ static void activate(DeployerFakePlayer player, Vec3 vec, BlockPos clickedPos, V
.addTransientAttributeModifiers(attributeModifiers);
activateInner(player, vec, clickedPos, extensionVector, mode);
player.getAttributes()
.addTransientAttributeModifiers(attributeModifiers);
.removeAttributeModifiers(attributeModifiers);
}

private static void activateInner(DeployerFakePlayer player, Vec3 vec, BlockPos clickedPos, Vec3 extensionVector,
Expand Down

0 comments on commit 8efd1d0

Please sign in to comment.