Commented out some debug messages & fix for #161

This commit is contained in:
Simon 2018-06-04 16:44:32 -04:00
parent a9cc9662f4
commit 45d34c37ad
5 changed files with 11 additions and 14 deletions

View File

@ -152,7 +152,7 @@ public class VaultDimension {
exitPortal.setObjectId(new ObjectId());
objectiveWorld.addObject(exitPortal);
LogManager.LOGGER.severe("Objective: " + objectiveWorld.getId());
// LogManager.LOGGER.severe("Objective: " + objectiveWorld.getId());
} else {
LogManager.LOGGER.severe("FIXME: Couldn't create exit portal for world " + homeWorld.getId());

View File

@ -3,7 +3,6 @@ package net.simon987.npcplugin;
import net.simon987.server.game.objects.Direction;
import net.simon987.server.game.world.TileMap;
import net.simon987.server.game.world.World;
import net.simon987.server.logging.LogManager;
import java.awt.*;
import java.util.ArrayList;
@ -14,7 +13,7 @@ public class VaultWorldGenerator {
public World generateVaultWorld(int worldX, int worldY, ArrayList<Direction> openings, String dimension) {
LogManager.LOGGER.info("Generating vault World");
// LogManager.LOGGER.info("Generating vault World");
/*
* Openings are always at the same spot (marked by '?')

View File

@ -9,7 +9,6 @@ import net.simon987.server.event.GameEventListener;
import net.simon987.server.event.WorldGenerationEvent;
import net.simon987.server.game.world.TileMap;
import net.simon987.server.game.world.World;
import net.simon987.server.logging.LogManager;
import org.bson.types.ObjectId;
import java.awt.*;
@ -62,8 +61,8 @@ public class WorldCreationListener implements GameEventListener {
world.addObject(factory);
world.incUpdatable();
LogManager.LOGGER.info("Spawned Factory at (" + world.getX() + ", " + world.getY() +
") (" + x + ", " + y + ")");
// LogManager.LOGGER.info("Spawned Factory at (" + world.getX() + ", " + world.getY() +
// ") (" + x + ", " + y + ")");
break outerLoopFactory;
}
}
@ -95,8 +94,8 @@ public class WorldCreationListener implements GameEventListener {
NpcPlugin.getRadioTowers().add(radioTower);
LogManager.LOGGER.info("Spawned RadioTower at (" + world.getX() + ", " + world.getY() +
") (" + p.x + ", " + p.y + ")");
// LogManager.LOGGER.info("Spawned RadioTower at (" + world.getX() + ", " + world.getY() +
// ") (" + p.x + ", " + p.y + ")");
}
}
@ -135,8 +134,8 @@ public class WorldCreationListener implements GameEventListener {
vaultDoor.initialize();
LogManager.LOGGER.info("Spawned Vault Door at (" + world.getX() + ", " + world.getY() +
") (" + p.x + ", " + p.y + ")");
// LogManager.LOGGER.info("Spawned Vault Door at (" + world.getX() + ", " + world.getY() +
// ") (" + p.x + ", " + p.y + ")");
}
}
}

View File

@ -2,7 +2,6 @@ package net.simon987.biomassplugin;
import net.simon987.server.game.world.TileMap;
import net.simon987.server.game.world.World;
import net.simon987.server.logging.LogManager;
import org.bson.types.ObjectId;
import java.awt.*;
@ -73,8 +72,8 @@ public class WorldUtils {
}
}
LogManager.LOGGER.info("Generated " + biomassBlobs.size() + " biomassBlobs for World (" + world.getX() + ',' +
world.getY() + ')');
// LogManager.LOGGER.info("Generated " + biomassBlobs.size() + " biomassBlobs for World (" + world.getX() + ',' +
// world.getY() + ')');
return biomassBlobs;
}

View File

@ -73,7 +73,7 @@ min_electric_box_respawn_count=1
max_electric_box_respawn_count=4
vault_wg_min_layer_count=4
vault_wg_max_layer_count=6
vault_wg_min_attached_world=0
vault_wg_min_attached_world=1
vault_wg_max_attached_world=4
vault_wg_min_electric_box_count=2
vault_wg_max_electric_box_count=4