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 b24a519f9092f69021b72e5a48e3c8514669932a Mon Sep 17 00:00:00 2001
From ccf869e8a33ffd31f1c7098cfff42a9fd7d2e743 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Thu, 3 Mar 2016 01:13:45 -0600
Subject: [PATCH] Configurable Disabling Cat Chest Detection
@@ -6,10 +6,10 @@ Subject: [PATCH] Configurable Disabling Cat Chest Detection
Offers a gameplay feature to stop cats from blocking chests
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
index 34007dbf4f..b27934cfc5 100644
index 71af3fcfed..e28d5b19a3 100644
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
@@ -173,4 +173,9 @@ public class PaperWorldConfig {
@@ -175,4 +175,9 @@ public class PaperWorldConfig {
private void containerUpdateTickRate() {
containerUpdateTickRate = getInt("container-update-tick-rate", 1);
}
@@ -36,5 +36,5 @@ index 5401f7d754..27e6d2b5f2 100644
if (!list.isEmpty()) {
for(EntityOcelot entityocelot : list) {
--
2.18.0
2.19.0