From 55fc6a68e1b434c7839758e8db75c7c3ba584648 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 5 Apr 2023 18:06:50 -0400 Subject: [PATCH] Corner trebs go into slot 1. --- src/engine/objects/Mob.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index c217fa6b..ac898b08 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1916,10 +1916,11 @@ public class Mob extends AbstractIntelligenceAgent { int count = 0; - // if it's a wall piece then the slot will be +1 + // if Arty Tower then the slot will always be 1 - if (Blueprint.isMeshWallPiece(building.meshUUID)) - putSlot = putSlot =1; + if (building.getBlueprint() != null && + building.getBlueprint().getBuildingGroup().equals(BuildingGroup.ARTYTOWER)) + putSlot = 1; for (BuildingLocation slotLoc : buildingModel.getLocations()) if (slotLoc.getType() == 6)