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); } }