diff --git a/docs/src/progress/renderertodo.md b/docs/src/progress/renderertodo.md index eae1740b..3185a8a2 100644 --- a/docs/src/progress/renderertodo.md +++ b/docs/src/progress/renderertodo.md @@ -2130,6 +2130,7 @@ Sim range update (06/08/2025) Fix scene re-adding tree that was previously removed Fix client toolbar update deleting entity that shouldn't be deleted +Fix attachment bug diff --git a/src/main/java/electrosphere/entity/state/attach/AttachUtils.java b/src/main/java/electrosphere/entity/state/attach/AttachUtils.java index 14ac4226..1e658868 100644 --- a/src/main/java/electrosphere/entity/state/attach/AttachUtils.java +++ b/src/main/java/electrosphere/entity/state/attach/AttachUtils.java @@ -304,7 +304,7 @@ public class AttachUtils { parentScale ); //set - EntityUtils.getPosition(child).set(position); + EntityUtils.setPosition(child, position); //calculate and apply rotation