Make "moved wrongly" limit configurable

By: Jonas Konrad <me@yawk.at>
This commit is contained in:
CraftBukkit/Spigot
2014-07-04 23:03:13 +02:00
parent 0166f71409
commit 7b951a7ec6
2 changed files with 44 additions and 24 deletions

View File

@@ -326,4 +326,10 @@ public class SpigotConfig
{
SpigotConfig.saveUserCacheOnStopOnly = SpigotConfig.getBoolean( "settings.save-user-cache-on-stop-only", false );
}
public static double movedWronglyThreshold;
private static void movedWronglyThreshold()
{
SpigotConfig.movedWronglyThreshold = SpigotConfig.getDouble( "settings.moved-wrongly-threshold", 0.0625D );
}
}