From 9717be3da8e8f8e38f80e35f24b8a1d8eee941a7 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Wed, 16 Jan 2013 12:09:03 -0800 Subject: [PATCH] Minor cleanup --- .../java/com/gmail/nossr50/commands/mc/McremoveCommand.java | 2 +- src/main/java/com/gmail/nossr50/mcMMO.java | 3 +-- .../nossr50/util/blockmeta/chunkmeta/PrimitiveChunkStore.java | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/commands/mc/McremoveCommand.java b/src/main/java/com/gmail/nossr50/commands/mc/McremoveCommand.java index c2834df93..9fe4de1fb 100644 --- a/src/main/java/com/gmail/nossr50/commands/mc/McremoveCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/mc/McremoveCommand.java @@ -29,7 +29,7 @@ public class McremoveCommand implements CommandExecutor { public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { String playerName; String tablePrefix = Config.getInstance().getMySQLTablePrefix(); - String databaseName = Config.getInstance().getMySQLDatabaseName(); + //String databaseName = Config.getInstance().getMySQLDatabaseName(); String usage = ChatColor.RED + "Proper usage is /mcremove "; //TODO: Needs more locale. String success; diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index b63258bf2..aeaac9cab 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -110,7 +110,6 @@ public class mcMMO extends JavaPlugin { private static String mainDirectory; private static String flatFileDirectory; private static String usersFile; - private static String leaderboardDirectory; private static String modDirectory; //Spout Check @@ -246,7 +245,7 @@ public class mcMMO extends JavaPlugin { placeStore = ChunkManagerFactory.getChunkManager(); // Automatically starts and stores itself - MobStoreCleaner cleaner = new MobStoreCleaner(); + new MobStoreCleaner(); // Create Anniversary files Anniversary anniversary = new Anniversary(); diff --git a/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/PrimitiveChunkStore.java b/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/PrimitiveChunkStore.java index 245e48f78..407fa9494 100755 --- a/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/PrimitiveChunkStore.java +++ b/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/PrimitiveChunkStore.java @@ -25,8 +25,9 @@ public class PrimitiveChunkStore implements ChunkStore { private List spawnedMobs = new ArrayList(); private List spawnedPets = new ArrayList(); transient private int worldHeight; + transient private int xBitShifts; - transient private int zBitShifts; + transient private int zBitShifts; transient private boolean conversionNeeded; public PrimitiveChunkStore(World world, int cx, int cz) {