Browse Source

treb fix

master
FatBoy-DOTC 2 years ago
parent
commit
0d2af7c011
  1. 5
      src/engine/net/client/handlers/MinionTrainingMsgHandler.java

5
src/engine/net/client/handlers/MinionTrainingMsgHandler.java

@ -153,10 +153,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
// toCreate.despawn(); // toCreate.despawn();
if (toCreate != null) { if (toCreate != null) {
//test timer for treb testing toCreate.setSpawnTime(60 * 15);
toCreate.setSpawnTime(10);
//toCreate.setSpawnTime(60 * 15);
//toCreate.setTimeToSpawnSiege(System.currentTimeMillis() + (60 * 15 * 1000));
Building building = BuildingManager.getBuilding(((MinionTrainingMessage) baseMsg).getBuildingID()); Building building = BuildingManager.getBuilding(((MinionTrainingMessage) baseMsg).getBuildingID());
int slot = ((NPC)toCreate.npcOwner).getSiegeMinionMap().get(toCreate); int slot = ((NPC)toCreate.npcOwner).getSiegeMinionMap().get(toCreate);
Vector3fImmutable slotLocation; Vector3fImmutable slotLocation;

Loading…
Cancel
Save