mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
Replace a net.minecraft accessor with a public attr.
By: Stéphan Kochen <stephan@kochen.nl>
This commit is contained in:
@@ -148,7 +148,7 @@ public final class CraftServer implements Server {
|
||||
}
|
||||
|
||||
public int getMaxPlayers() {
|
||||
return server.getMaxPlayers();
|
||||
return server.e;
|
||||
}
|
||||
|
||||
public PluginManager getPluginManager() {
|
||||
|
Reference in New Issue
Block a user