mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 03:35:51 -07:00
Added spawn-protection property to server.properties
This commit is contained in:
@@ -41,7 +41,7 @@ public class MinecraftServer implements ICommandListener, Runnable {
|
||||
public boolean l;
|
||||
public boolean m;
|
||||
public boolean n;
|
||||
public int spawnProtection;
|
||||
public int spawnProtection; // CraftBukkit Configurable spawn protection start
|
||||
public List<WorldServer> worlds = new ArrayList<WorldServer>();
|
||||
|
||||
// Craftbukkit start - adds argument OptionSet
|
||||
@@ -74,7 +74,7 @@ public class MinecraftServer implements ICommandListener, Runnable {
|
||||
this.l = this.d.a("online-mode", true);
|
||||
this.m = this.d.a("spawn-animals", true);
|
||||
this.n = this.d.a("pvp", true);
|
||||
this.spawnProtection = this.d.a("spawn-protection", 16);
|
||||
this.spawnProtection = this.d.a("spawn-protection", 16); // CraftBukkit Configurable spawn protection start
|
||||
InetAddress inetaddress = null;
|
||||
|
||||
if (s.length() > 0) {
|
||||
|
Reference in New Issue
Block a user