mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
Fix /purpur reload not reloading world options
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 87e96f6f24a83d3296935af1d348dc4237296d67 Mon Sep 17 00:00:00 2001
|
||||
From 0ebf3580ed75a053cf80047aea6c28045d39bfb1 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Fri, 18 Oct 2019 23:58:56 -0500
|
||||
Subject: [PATCH] Add block and fluid tick events
|
||||
@@ -10,7 +10,7 @@ Subject: [PATCH] Add block and fluid tick events
|
||||
3 files changed, 29 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
|
||||
index bc02c54526..58d67168e8 100644
|
||||
index 4dfcce82de..53763216f0 100644
|
||||
--- a/src/main/java/net/minecraft/server/WorldServer.java
|
||||
+++ b/src/main/java/net/minecraft/server/WorldServer.java
|
||||
@@ -604,7 +604,7 @@ public class WorldServer extends World {
|
||||
@@ -48,11 +48,11 @@ index bc02c54526..58d67168e8 100644
|
||||
}
|
||||
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index f4d45baf27..10c659da7a 100644
|
||||
index b2c62de053..b82fc8d19f 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -62,6 +62,13 @@ public class PurpurWorldConfig {
|
||||
return config.getString("world-settings." + worldName + "." + path, config.getString("world-settings.default." + path));
|
||||
@@ -58,6 +58,13 @@ public class PurpurWorldConfig {
|
||||
return PurpurConfig.config.getString("world-settings." + worldName + "." + path, PurpurConfig.config.getString("world-settings.default." + path));
|
||||
}
|
||||
|
||||
+ public boolean blockTickEvent = false;
|
||||
|
||||
Reference in New Issue
Block a user