Fix lag from villager lobotomize check

This commit is contained in:
BillyGalbreath
2020-12-18 11:09:45 -06:00
parent 2ec0dbab59
commit 844337c595
33 changed files with 95 additions and 71 deletions

View File

@@ -102,7 +102,7 @@ index 59abca0fd2330e1cdeda603d4146e4bb1afc3090..ca4d260e8faf852b0986c4cd8645e513
this.ticksPerAnimalSpawns = this.getServer().getTicksPerAnimalSpawns(); // CraftBukkit
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
new file mode 100644
index 0000000000000000000000000000000000000000..b807f8aa83325abfecc618cd9687d3e6e0ebf671
index 0000000000000000000000000000000000000000..025f8bc757bc3f04380d8f4239daef1da092bba1
--- /dev/null
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
@@ -0,0 +1,130 @@
@@ -161,8 +161,8 @@ index 0000000000000000000000000000000000000000..b807f8aa83325abfecc618cd9687d3e6
+ commands = new HashMap<>();
+ commands.put("purpur", new PurpurCommand("purpur"));
+
+ version = getInt("config-version", 8);
+ set("config-version", 8);
+ version = getInt("config-version", 9);
+ set("config-version", 9);
+
+ readConfig(PurpurConfig.class, null);
+ }