Re-enable light queue toggle, optimize neighbor checks, add max queue time

light queue is actually buggy, so re-enabling the config.

however, if anyone is ok with the buggy behavior, made the max time lost due to
light queue configurable.

We want to get to making the ligth queue default if we can make it work perfectly.

also applying neighbor optimizations to use the faster method for light checks.
This commit is contained in:
Aikar
2018-09-26 00:57:59 -04:00
parent e1ba203df8
commit 5cdfbda4e4
67 changed files with 303 additions and 271 deletions

View File

@@ -1,4 +1,4 @@
From c68f5a2cbfee772cbf26e1634365a13825064573 Mon Sep 17 00:00:00 2001
From 437422d05c2c0b4b5be73a645446885b6eeddbba Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Fri, 15 Jun 2018 00:30:32 -0400
Subject: [PATCH] Configurable Alternative LootPool Luck Formula
@@ -36,10 +36,10 @@ This change will result in some major changes to fishing formulas.
I would love to see this change in Vanilla, so Mojang please pull :)
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
index 9bfbaf61e5..bcdf4f91d8 100644
index 97a8fb0179..72602be58a 100644
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
@@ -295,4 +295,12 @@ public class PaperConfig {
@@ -300,4 +300,12 @@ public class PaperConfig {
"such as inventories, experience points, advancements and the like will not be saved when they log out.");
}
}
@@ -104,5 +104,5 @@ index 8daccdd6e9..c2a4ed6cf0 100644
public abstract void a(Collection<ItemStack> var1, Random var2, LootTableInfo var3);
--
2.18.0
2.19.0