From 8efd1d019baea1489514f4001bd7653feb691784 Mon Sep 17 00:00:00 2001 From: pwnedgod Date: Tue, 17 Dec 2024 04:35:32 +0900 Subject: [PATCH] Fix double call to addTransientAttributeModifiers causing deployer to retain attributes --- .../create/content/kinetics/deployer/DeployerHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/kinetics/deployer/DeployerHandler.java b/src/main/java/com/simibubi/create/content/kinetics/deployer/DeployerHandler.java index 92e674a092..58bd6d8753 100644 --- a/src/main/java/com/simibubi/create/content/kinetics/deployer/DeployerHandler.java +++ b/src/main/java/com/simibubi/create/content/kinetics/deployer/DeployerHandler.java @@ -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,