geforkt von Mirrors/Paper
25 Zeilen
785 B
Diff
25 Zeilen
785 B
Diff
|
From e4eaae02de9a9d2be4816c7d260d39011924fd90 Mon Sep 17 00:00:00 2001
|
||
|
From: Jonas Konrad <me@yawk.at>
|
||
|
Date: Fri, 4 Jul 2014 23:03:13 +0200
|
||
|
Subject: [PATCH] Make "moved wrongly" limit configurable
|
||
|
|
||
|
|
||
|
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
|
||
|
index 921d7d5..7e774f2 100644
|
||
|
--- a/src/main/java/org/spigotmc/SpigotConfig.java
|
||
|
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
|
||
|
@@ -334,4 +334,10 @@ public class SpigotConfig
|
||
|
{
|
||
|
intCacheLimit = getInt( "settings.int-cache-limit", 1024 );
|
||
|
}
|
||
|
+
|
||
|
+ public static double movedWronglyThreshold;
|
||
|
+ private static void movedWronglyThreshold()
|
||
|
+ {
|
||
|
+ movedWronglyThreshold = getDouble( "settings.moved-wrongly-threshold", 0.0625D );
|
||
|
+ }
|
||
|
}
|
||
|
--
|
||
|
2.5.0
|
||
|
|