mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
Minor cleanup
This commit is contained in:
parent
67a4efa03e
commit
9717be3da8
@ -29,7 +29,7 @@ public class McremoveCommand implements CommandExecutor {
|
|||||||
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
||||||
String playerName;
|
String playerName;
|
||||||
String tablePrefix = Config.getInstance().getMySQLTablePrefix();
|
String tablePrefix = Config.getInstance().getMySQLTablePrefix();
|
||||||
String databaseName = Config.getInstance().getMySQLDatabaseName();
|
//String databaseName = Config.getInstance().getMySQLDatabaseName();
|
||||||
String usage = ChatColor.RED + "Proper usage is /mcremove <player>"; //TODO: Needs more locale.
|
String usage = ChatColor.RED + "Proper usage is /mcremove <player>"; //TODO: Needs more locale.
|
||||||
String success;
|
String success;
|
||||||
|
|
||||||
|
@ -110,7 +110,6 @@ public class mcMMO extends JavaPlugin {
|
|||||||
private static String mainDirectory;
|
private static String mainDirectory;
|
||||||
private static String flatFileDirectory;
|
private static String flatFileDirectory;
|
||||||
private static String usersFile;
|
private static String usersFile;
|
||||||
private static String leaderboardDirectory;
|
|
||||||
private static String modDirectory;
|
private static String modDirectory;
|
||||||
|
|
||||||
//Spout Check
|
//Spout Check
|
||||||
@ -246,7 +245,7 @@ public class mcMMO extends JavaPlugin {
|
|||||||
placeStore = ChunkManagerFactory.getChunkManager();
|
placeStore = ChunkManagerFactory.getChunkManager();
|
||||||
|
|
||||||
// Automatically starts and stores itself
|
// Automatically starts and stores itself
|
||||||
MobStoreCleaner cleaner = new MobStoreCleaner();
|
new MobStoreCleaner();
|
||||||
|
|
||||||
// Create Anniversary files
|
// Create Anniversary files
|
||||||
Anniversary anniversary = new Anniversary();
|
Anniversary anniversary = new Anniversary();
|
||||||
|
@ -25,8 +25,9 @@ public class PrimitiveChunkStore implements ChunkStore {
|
|||||||
private List<UUID> spawnedMobs = new ArrayList<UUID>();
|
private List<UUID> spawnedMobs = new ArrayList<UUID>();
|
||||||
private List<UUID> spawnedPets = new ArrayList<UUID>();
|
private List<UUID> spawnedPets = new ArrayList<UUID>();
|
||||||
transient private int worldHeight;
|
transient private int worldHeight;
|
||||||
|
|
||||||
transient private int xBitShifts;
|
transient private int xBitShifts;
|
||||||
transient private int zBitShifts;
|
transient private int zBitShifts;
|
||||||
transient private boolean conversionNeeded;
|
transient private boolean conversionNeeded;
|
||||||
|
|
||||||
public PrimitiveChunkStore(World world, int cx, int cz) {
|
public PrimitiveChunkStore(World world, int cx, int cz) {
|
||||||
|
Loading…
Reference in New Issue
Block a user