Addded: int getMaxPlayers()

This commit is contained in:
Animosity 2011-02-04 14:12:33 +08:00 committed by EvilSeph
parent 10f4f33ed0
commit 8932430aed
2 changed files with 10 additions and 0 deletions

View File

@ -56,6 +56,12 @@ public class ServerConfigurationManager {
this.j();
}
// CraftBukkit start
public int getMaxPlayers() {
return this.e;
}
// CraftBukkit end
public void a(WorldServer worldserver) {
this.l = new PlayerNBTManager(new File(worldserver.t, "players"));
}

View File

@ -136,6 +136,10 @@ public final class CraftServer implements Server {
return matchedPlayers;
}
public int getMaxPlayers() {
return server.getMaxPlayers();
}
public PluginManager getPluginManager() {
return pluginManager;
}