aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches/0085-Configurable-Non-Player-Arrow-Despawn-Rate.patch
diff options
context:
space:
mode:
authorAikar <[email protected]>2016-05-16 22:07:12 -0400
committerAikar <[email protected]>2016-05-16 22:07:12 -0400
commit18b4817a33e47626a3aab9dc31650c37663fc260 (patch)
treeaf5d95b5947f18fade28a0359df3f225dacf4d1c /Spigot-Server-Patches/0085-Configurable-Non-Player-Arrow-Despawn-Rate.patch
parenta8271cdc05530c79893e9cc0e2f8f59aaa9c9cee (diff)
downloadPaper-18b4817a33e47626a3aab9dc31650c37663fc260.tar.gz
Paper-18b4817a33e47626a3aab9dc31650c37663fc260.zip
bump the default maxMobSpawns default to 250, and add support for unlimited
Use -1 to represent vanilla/unlimited. Updated PaperWorldConfig to also update the individual worlds limit if it was set to the new default value. Should hopefully help #235
Diffstat (limited to 'Spigot-Server-Patches/0085-Configurable-Non-Player-Arrow-Despawn-Rate.patch')
-rw-r--r--Spigot-Server-Patches/0085-Configurable-Non-Player-Arrow-Despawn-Rate.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/Spigot-Server-Patches/0085-Configurable-Non-Player-Arrow-Despawn-Rate.patch b/Spigot-Server-Patches/0085-Configurable-Non-Player-Arrow-Despawn-Rate.patch
index 1272fda670..6e07c7b14e 100644
--- a/Spigot-Server-Patches/0085-Configurable-Non-Player-Arrow-Despawn-Rate.patch
+++ b/Spigot-Server-Patches/0085-Configurable-Non-Player-Arrow-Despawn-Rate.patch
@@ -1,4 +1,4 @@
-From 16c55fb0b6c3638b99225963274e14d316f6e411 Mon Sep 17 00:00:00 2001
+From 7330300f4ce381a1f67de5cc44b9f0a6a94e67ca Mon Sep 17 00:00:00 2001
From: Aikar <[email protected]>
Date: Fri, 18 Mar 2016 15:12:22 -0400
Subject: [PATCH] Configurable Non Player Arrow Despawn Rate
@@ -6,10 +6,10 @@ Subject: [PATCH] Configurable Non Player Arrow Despawn Rate
Can set a much shorter despawn rate for arrows that players can not pick up.
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
-index 8875559..50e891f 100644
+index 57e1fcf..3f8a47b 100644
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
-@@ -276,4 +276,13 @@ public class PaperWorldConfig {
+@@ -279,4 +279,13 @@ public class PaperWorldConfig {
private void allowLeashingUndeadHorse() {
allowLeashingUndeadHorse = getBoolean("allow-leashing-undead-horse", false);
}