mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-07 19:30:48 +01:00
Fix .raw map being counted in /dxl and /dxl reload
This commit is contained in:
parent
f7ca2c2dbd
commit
24b2709c52
@ -45,7 +45,7 @@ public class MainCommand extends DCommand {
|
||||
public void onExecute(String[] args, CommandSender sender) {
|
||||
PluginManager plugins = Bukkit.getServer().getPluginManager();
|
||||
|
||||
int maps = DungeonsXL.MAPS.listFiles().length;
|
||||
int maps = DungeonsXL.MAPS.listFiles().length - 1;
|
||||
int dungeons = DungeonsXL.DUNGEONS.listFiles().length;
|
||||
int loaded = instances.getEditWorlds().size() + instances.getGameWorlds().size();
|
||||
int players = dPlayers.getDGamePlayers().size();
|
||||
|
@ -74,7 +74,7 @@ public class ReloadCommand extends DCommand {
|
||||
dPlayer.leave();
|
||||
}
|
||||
|
||||
int maps = DungeonsXL.MAPS.listFiles().length;
|
||||
int maps = DungeonsXL.MAPS.listFiles().length - 1;
|
||||
int dungeons = DungeonsXL.DUNGEONS.listFiles().length;
|
||||
int loaded = instances.getEditWorlds().size() + instances.getGameWorlds().size();
|
||||
int players = this.dPlayers.getDGamePlayers().size();
|
||||
|
Loading…
Reference in New Issue
Block a user