mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 07:48:53 +01:00
restore vanilla default mob-spawn-range
This commit is contained in:
parent
ecf97ddca0
commit
7b466d5f83
1 changed files with 22 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
||||||
|
From 30e2f287295313f6e643cfbd2297dd9795e59b22 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Aikar <aikar@aikar.co>
|
||||||
|
Date: Sat, 18 Aug 2018 12:43:16 -0400
|
||||||
|
Subject: [PATCH] Restore vanlla default mob-spawn-range
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
||||||
|
index 87bc8e2d9c..d2942fd8e7 100644
|
||||||
|
--- a/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
||||||
|
+++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
||||||
|
@@ -130,7 +130,7 @@ public class SpigotWorldConfig
|
||||||
|
public byte mobSpawnRange;
|
||||||
|
private void mobSpawnRange()
|
||||||
|
{
|
||||||
|
- mobSpawnRange = (byte) getInt( "mob-spawn-range", 6 );
|
||||||
|
+ mobSpawnRange = (byte) getInt( "mob-spawn-range", 8 ); // Paper - Vanilla
|
||||||
|
log( "Mob Spawn Range: " + mobSpawnRange );
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
2.18.0
|
||||||
|
|
Loading…
Reference in a new issue