summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit
diff options
context:
space:
mode:
authorAnimosity <nullcline@gmail.com>2011-02-04 14:12:33 +0800
committerEvilSeph <evilseph@unaligned.org>2011-02-05 01:36:41 -0500
commit8932430aed21274e03189ae340bd20a9ea8b5761 (patch)
treeb3e7a4f41310c0fcb053e74fc363e45e176bad6e /src/main/java/org/bukkit
parent10f4f33ed03a2dc7f824daee69d8959dc0008b85 (diff)
downloadcraftbukkit-8932430aed21274e03189ae340bd20a9ea8b5761.tar
craftbukkit-8932430aed21274e03189ae340bd20a9ea8b5761.tar.gz
craftbukkit-8932430aed21274e03189ae340bd20a9ea8b5761.tar.lz
craftbukkit-8932430aed21274e03189ae340bd20a9ea8b5761.tar.xz
craftbukkit-8932430aed21274e03189ae340bd20a9ea8b5761.zip
Addded: int getMaxPlayers()
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
index df8b7c60..73d4d1d1 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -136,6 +136,10 @@ public final class CraftServer implements Server {
return matchedPlayers;
}
+ public int getMaxPlayers() {
+ return server.getMaxPlayers();
+ }
+
public PluginManager getPluginManager() {
return pluginManager;
}