Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 12:30:06 +01:00
0708fa363b
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing CraftBukkit Changes:eb2e6578
SPIGOT-5116: Fix concurrent modification exception inside ChunkMapDistance989f9b3d
SPIGOT-4849: Fix server crash when accessing chunks during chunk load/unload/populate eventsf554183c
SPIGOT-5171: Don't fire PlayerTeleportEvent if not actually moving2349feb8
SPIGOT-5163: Cancelling PlayerBucketFillEvent visually removes the targeted block Spigot Changes: 9a643a6a Remove DataWatcher Locking
23 Zeilen
802 B
Diff
23 Zeilen
802 B
Diff
From 471b25737c3f2f49767ad3f3127106c84ac10a32 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 255133903..b3afb901a 100644
|
|
--- a/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
|
+++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java
|
|
@@ -158,7 +158,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
|
|
|