mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-04 18:01:17 +01:00
6048122e23
This patch appears to be causing some issues with 1.14.3 entity AI
23 lines
804 B
Diff
23 lines
804 B
Diff
From 0abdc81f576fee006411839c5b2ac0c872bd4ca3 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 7f0adb70d1..4c1cb6d7bf 100644
|
|
--- a/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
|
+++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
|
@@ -152,7 +152,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.22.0
|
|
|