mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-22 02:47:43 +01:00
Add option to toggle zero-tick fix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From b6bb5c2e6b611b805eeaf9788eac48144d910e18 Mon Sep 17 00:00:00 2001
|
||||
From 9db3ce26c27445e2ba7eecc2b62d406048560829 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
||||
Date: Sun, 14 Jul 2019 19:52:47 -0500
|
||||
Subject: [PATCH] Mending mends most damages equipment first
|
||||
@@ -86,11 +86,11 @@ index 0e164840f..41e889165 100644
|
||||
return this.tag == null ? 0 : this.tag.getInt("Damage");
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
index b0f5c3db3..938cd4291 100644
|
||||
index 6aa8756f4..637d662ad 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
@@ -151,6 +151,11 @@ public class PurpurConfig {
|
||||
fixItemPositionDesync = getBoolean("settings.fix-item-position-desync", fixItemPositionDesync);
|
||||
@@ -156,6 +156,11 @@ public class PurpurConfig {
|
||||
fixZeroTickFarms = getBoolean("settings.fix-zero-tick-farms", fixZeroTickFarms);
|
||||
}
|
||||
|
||||
+ public static boolean useBetterMending = true;
|
||||
|
||||
Reference in New Issue
Block a user