Make purpur.lang reloadable with

This commit is contained in:
William Blake Galbreath
2020-04-12 16:39:52 -05:00
parent 3630f35339
commit b6d5b8200e
17 changed files with 172 additions and 138 deletions

View File

@@ -1,4 +1,4 @@
From 453cb1e7cf0a3c89572dc257de590ed4b74f3053 Mon Sep 17 00:00:00 2001
From 7c1f60cee753f6b992262cde23a649037fd80235 Mon Sep 17 00:00:00 2001
From: William Blake Galbreath <blake.galbreath@gmail.com>
Date: Fri, 11 Oct 2019 00:17:39 -0500
Subject: [PATCH] Alternative Keepalive Handling
@@ -74,10 +74,10 @@ index f92516069a..b60b71a15d 100644
if (this.awaitingKeepAlive && packetplayinkeepalive.b() == this.h) {
int i = (int) (SystemUtils.getMonotonicMillis() - this.lastKeepAlive);
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
index 0f69284a72..777f167293 100644
index 391fe7a512..bcd6837d46 100644
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
@@ -147,6 +147,11 @@ public class PurpurConfig {
@@ -148,6 +148,11 @@ public class PurpurConfig {
laggingThreshold = getDouble("settings.lagging-threshold", laggingThreshold);
}