From 23303bc190bf4acbe3caceef761817c641eabffd Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Wed, 2 Jan 2019 15:45:13 -0200 Subject: [PATCH] update config --- .../viarift/platform/VRViaConfig.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/github/creeper123123321/viarift/platform/VRViaConfig.java b/src/main/java/com/github/creeper123123321/viarift/platform/VRViaConfig.java index bc34703..ba65bd3 100644 --- a/src/main/java/com/github/creeper123123321/viarift/platform/VRViaConfig.java +++ b/src/main/java/com/github/creeper123123321/viarift/platform/VRViaConfig.java @@ -35,7 +35,7 @@ import java.util.Map; public class VRViaConfig extends Config implements ViaVersionConfig { // Based on Sponge ViaVersion - private static List UNSUPPORTED = Arrays.asList("anti-xray-patch", "bungee-ping-interval", "bungee-ping-save", "bungee-servers", "quick-move-action-fix", "nms-player-ticking", "item-cache"); + private static List UNSUPPORTED = Arrays.asList("anti-xray-patch", "bungee-ping-interval", "bungee-ping-save", "bungee-servers", "quick-move-action-fix", "nms-player-ticking", "item-cache", "velocity-ping-interval", "velocity-ping-save", "velocity-servers", "blockconnection-method"); public VRViaConfig(File configFile) { super(new File(configFile, "config.yml")); @@ -239,9 +239,14 @@ public class VRViaConfig extends Config implements ViaVersionConfig { return this.getBoolean("minimize-cooldown", true); } - @Override // TODO config file + @Override + public boolean isDisable1_13AutoComplete() { + return this.getBoolean("disable-1_13-auto-complete", false); + } + + @Override public boolean isServersideBlockConnections() { - return true; + return this.getBoolean("serverside-blockconnections", false); } @Override @@ -251,10 +256,6 @@ public class VRViaConfig extends Config implements ViaVersionConfig { @Override public boolean isReduceBlockStorageMemory() { - return false; - } - - public boolean isDisable1_13AutoComplete() { - return this.getBoolean("disable-1_13-auto-complete", false); + return this.getBoolean("reduce-blockstorage-memory", false); } } \ No newline at end of file