Added getOnlineMode() for the Server. Thanks Rigby!
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
@@ -565,4 +565,8 @@ public final class CraftServer implements Server {
|
|||||||
configuration.setProperty("settings.spawn-radius", value);
|
configuration.setProperty("settings.spawn-radius", value);
|
||||||
configuration.save();
|
configuration.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean getOnlineMode() {
|
||||||
|
return this.console.onlineMode;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user