Slot not rotated twice.

This commit is contained in:
2023-07-22 10:44:36 -04:00
parent 8b2a07e860
commit bf1271c840
-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