From fc8b55dce7f3d6580db7724a5d51a7a23eb95284 Mon Sep 17 00:00:00 2001 From: Marco Neuhaus Date: Sat, 24 Nov 2018 18:42:00 +0100 Subject: [PATCH] fix spelling mistake --- .../us/myles/ViaVersion/bukkit/platform/BukkitViaConfig.java | 2 +- .../us/myles/ViaVersion/bungee/platform/BungeeViaConfig.java | 2 +- .../src/main/java/us/myles/ViaVersion/api/ViaVersionConfig.java | 2 +- .../protocol1_13to1_12_2/blockconnections/ConnectionData.java | 2 +- .../us/myles/ViaVersion/sponge/platform/SpongeViaConfig.java | 2 +- .../myles/ViaVersion/velocity/platform/VelocityViaConfig.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bukkit/src/main/java/us/myles/ViaVersion/bukkit/platform/BukkitViaConfig.java b/bukkit/src/main/java/us/myles/ViaVersion/bukkit/platform/BukkitViaConfig.java index 3dab0fcbe..467be57d4 100644 --- a/bukkit/src/main/java/us/myles/ViaVersion/bukkit/platform/BukkitViaConfig.java +++ b/bukkit/src/main/java/us/myles/ViaVersion/bukkit/platform/BukkitViaConfig.java @@ -231,7 +231,7 @@ public class BukkitViaConfig extends Config implements ViaVersionConfig { } @Override - public boolean isRedueBlockStorageMemory() { + public boolean isReduceBlockStorageMemory() { return getBoolean("reduce-blockstorage-memory", false); } } diff --git a/bungee/src/main/java/us/myles/ViaVersion/bungee/platform/BungeeViaConfig.java b/bungee/src/main/java/us/myles/ViaVersion/bungee/platform/BungeeViaConfig.java index 0bc8ef224..9acbd7b03 100644 --- a/bungee/src/main/java/us/myles/ViaVersion/bungee/platform/BungeeViaConfig.java +++ b/bungee/src/main/java/us/myles/ViaVersion/bungee/platform/BungeeViaConfig.java @@ -284,7 +284,7 @@ public class BungeeViaConfig extends Config implements ViaVersionConfig { } @Override - public boolean isRedueBlockStorageMemory() { + public boolean isReduceBlockStorageMemory() { return getBoolean("reduce-blockstorage-memory", false); } } diff --git a/common/src/main/java/us/myles/ViaVersion/api/ViaVersionConfig.java b/common/src/main/java/us/myles/ViaVersion/api/ViaVersionConfig.java index 31630e29a..46b3ce2fc 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/ViaVersionConfig.java +++ b/common/src/main/java/us/myles/ViaVersion/api/ViaVersionConfig.java @@ -286,5 +286,5 @@ public interface ViaVersionConfig { * * @return True if enabled */ - boolean isRedueBlockStorageMemory(); + boolean isReduceBlockStorageMemory(); } diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java index dadb1dafc..ef39faec2 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_13to1_12_2/blockconnections/ConnectionData.java @@ -134,7 +134,7 @@ public class ConnectionData { keyToId.put(key, id); } - if (!Via.getConfig().isRedueBlockStorageMemory()) { + if (!Via.getConfig().isReduceBlockStorageMemory()) { JsonObject mappingBlockConnections = MappingData.loadData("blockConnections.json"); for (Entry entry : mappingBlockConnections.entrySet()) { int id = keyToId.get(entry.getKey()); diff --git a/sponge/src/main/java/us/myles/ViaVersion/sponge/platform/SpongeViaConfig.java b/sponge/src/main/java/us/myles/ViaVersion/sponge/platform/SpongeViaConfig.java index 902c2a182..adf21bdc2 100644 --- a/sponge/src/main/java/us/myles/ViaVersion/sponge/platform/SpongeViaConfig.java +++ b/sponge/src/main/java/us/myles/ViaVersion/sponge/platform/SpongeViaConfig.java @@ -237,7 +237,7 @@ public class SpongeViaConfig extends Config implements ViaVersionConfig { } @Override - public boolean isRedueBlockStorageMemory() { + public boolean isReduceBlockStorageMemory() { return getBoolean("reduce-blockstorage-memory", false); } } diff --git a/velocity/src/main/java/us/myles/ViaVersion/velocity/platform/VelocityViaConfig.java b/velocity/src/main/java/us/myles/ViaVersion/velocity/platform/VelocityViaConfig.java index 9ed13cedd..b9f96c611 100644 --- a/velocity/src/main/java/us/myles/ViaVersion/velocity/platform/VelocityViaConfig.java +++ b/velocity/src/main/java/us/myles/ViaVersion/velocity/platform/VelocityViaConfig.java @@ -289,7 +289,7 @@ public class VelocityViaConfig extends Config implements ViaVersionConfig { } @Override - public boolean isRedueBlockStorageMemory() { + public boolean isReduceBlockStorageMemory() { return getBoolean("reduce-blockstorage-memory", false); } }