Forcibly disable async light updates for the time being

This commit is contained in:
Zach Brown 2016-03-08 16:23:28 -06:00
parent 0429e9f9e1
commit b5a7d7fd29
2 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
From 15724de66ac3129e18cda0835ebe6142dee6233a Mon Sep 17 00:00:00 2001
From 712fee2a1cf2121a90ca3aeb86ca6a9213527da9 Mon Sep 17 00:00:00 2001
From: Byteflux <byte@byteflux.net>
Date: Wed, 2 Mar 2016 00:52:31 -0600
Subject: [PATCH] Configurable async light updates
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
index 28e3e3c..402ed0a 100644
index 28e3e3c..5504cfe 100644
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
@@ -158,4 +158,9 @@ public class PaperWorldConfig {
@ -14,7 +14,7 @@ index 28e3e3c..402ed0a 100644
+ public boolean useAsyncLighting;
+ private void useAsyncLighting() {
+ useAsyncLighting = getBoolean( "use-async-lighting", false );
+ useAsyncLighting = false; //getBoolean( "use-async-lighting", false );
+ log("World async lighting: " + useAsyncLighting);
+ }
}

View File

@ -1,15 +1,15 @@
From b371b108ede6a29124b6805ca2992a742d9f4581 Mon Sep 17 00:00:00 2001
From e6a7755229623e86993c9082866072172ce1801e Mon Sep 17 00:00:00 2001
From: DoctorDark <doctordark11@gmail.com>
Date: Wed, 2 Mar 2016 01:17:06 -0600
Subject: [PATCH] Configurable end credits when leaving the end
diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
index 402ed0a..e52b9f4 100644
index 5504cfe..6dc7e4c 100644
--- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
+++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java
@@ -163,4 +163,10 @@ public class PaperWorldConfig {
useAsyncLighting = getBoolean( "use-async-lighting", false );
useAsyncLighting = false; //getBoolean( "use-async-lighting", false );
log("World async lighting: " + useAsyncLighting);
}
+