mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-16 19:51:35 +01:00
fix spelling mistake
This commit is contained in:
parent
b60c56f464
commit
fc8b55dce7
@ -231,7 +231,7 @@ public class BukkitViaConfig extends Config implements ViaVersionConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isRedueBlockStorageMemory() {
|
public boolean isReduceBlockStorageMemory() {
|
||||||
return getBoolean("reduce-blockstorage-memory", false);
|
return getBoolean("reduce-blockstorage-memory", false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -284,7 +284,7 @@ public class BungeeViaConfig extends Config implements ViaVersionConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isRedueBlockStorageMemory() {
|
public boolean isReduceBlockStorageMemory() {
|
||||||
return getBoolean("reduce-blockstorage-memory", false);
|
return getBoolean("reduce-blockstorage-memory", false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -286,5 +286,5 @@ public interface ViaVersionConfig {
|
|||||||
*
|
*
|
||||||
* @return True if enabled
|
* @return True if enabled
|
||||||
*/
|
*/
|
||||||
boolean isRedueBlockStorageMemory();
|
boolean isReduceBlockStorageMemory();
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,7 @@ public class ConnectionData {
|
|||||||
keyToId.put(key, id);
|
keyToId.put(key, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Via.getConfig().isRedueBlockStorageMemory()) {
|
if (!Via.getConfig().isReduceBlockStorageMemory()) {
|
||||||
JsonObject mappingBlockConnections = MappingData.loadData("blockConnections.json");
|
JsonObject mappingBlockConnections = MappingData.loadData("blockConnections.json");
|
||||||
for (Entry<String, JsonElement> entry : mappingBlockConnections.entrySet()) {
|
for (Entry<String, JsonElement> entry : mappingBlockConnections.entrySet()) {
|
||||||
int id = keyToId.get(entry.getKey());
|
int id = keyToId.get(entry.getKey());
|
||||||
|
@ -237,7 +237,7 @@ public class SpongeViaConfig extends Config implements ViaVersionConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isRedueBlockStorageMemory() {
|
public boolean isReduceBlockStorageMemory() {
|
||||||
return getBoolean("reduce-blockstorage-memory", false);
|
return getBoolean("reduce-blockstorage-memory", false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -289,7 +289,7 @@ public class VelocityViaConfig extends Config implements ViaVersionConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isRedueBlockStorageMemory() {
|
public boolean isReduceBlockStorageMemory() {
|
||||||
return getBoolean("reduce-blockstorage-memory", false);
|
return getBoolean("reduce-blockstorage-memory", false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user