Merge remote-tracking branch 'origin/bugfix-stuck-location'

This commit is contained in:
2023-07-22 13:26:11 -04:00
5 changed files with 5 additions and 27 deletions
-5
View File
@@ -922,11 +922,6 @@ public class Mob extends AbstractIntelligenceAgent {
this.bindLoc = building.getLoc().add(slotLocation);
// Rotate MOB by slot rotation
slotRotation = BuildingManager.getSlotLocation(building, slot).getRotation();
this.setRot(new Vector3f(0, slotRotation.y, 0));
}
// Rotate slot position by the building rotation