mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 10:12:06 -07:00
Replace a net.minecraft accessor with a public attr.
This commit is contained in:
committed by
Erik Broes
parent
5aa95ee469
commit
f789c9e744
@@ -29,7 +29,7 @@ public class ServerConfigurationManager {
|
||||
public List b = new ArrayList();
|
||||
public MinecraftServer c; // Craftbukkit - public
|
||||
// public PlayerManager d; // Craftbukkit - removed!
|
||||
private int e;
|
||||
public int e; // Craftbukkit - public
|
||||
private Set f = new HashSet();
|
||||
private Set g = new HashSet();
|
||||
private Set h = new HashSet();
|
||||
@@ -41,10 +41,6 @@ public class ServerConfigurationManager {
|
||||
// CraftBukkit start
|
||||
private CraftServer server;
|
||||
|
||||
public int getMaxPlayers() {
|
||||
return this.e;
|
||||
}
|
||||
|
||||
public ServerConfigurationManager(MinecraftServer minecraftserver) {
|
||||
minecraftserver.server = new CraftServer(minecraftserver, this);
|
||||
server = minecraftserver.server;
|
||||
|
Reference in New Issue
Block a user