Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 23:00:08 +01:00
Addded: int getMaxPlayers()
Dieser Commit ist enthalten in:
Ursprung
10f4f33ed0
Commit
8932430aed
@ -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"));
|
||||
}
|
||||
|
@ -136,6 +136,10 @@ public final class CraftServer implements Server {
|
||||
return matchedPlayers;
|
||||
}
|
||||
|
||||
public int getMaxPlayers() {
|
||||
return server.getMaxPlayers();
|
||||
}
|
||||
|
||||
public PluginManager getPluginManager() {
|
||||
return pluginManager;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren