mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2025-02-09 00:41:43 +01:00
Fix piston mapping getting with blockconnections disabled
This commit is contained in:
parent
72a070da3e
commit
c6d8a83ac9
@ -40,7 +40,7 @@ public class PistonHandler implements BackwardsBlockEntityProvider.BackwardsBloc
|
|||||||
addEntries(entry.getKey(), entry.getValue());
|
addEntries(entry.getKey(), entry.getValue());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
JsonObject mappings = MappingDataLoader.getMappingsCache().get("mapping-1.13.json").getAsJsonObject("blocks");
|
JsonObject mappings = MappingDataLoader.getMappingsCache().get("mapping-1.13.json").getAsJsonObject("blockstates");
|
||||||
for (Map.Entry<String, JsonElement> blockState : mappings.entrySet()) {
|
for (Map.Entry<String, JsonElement> blockState : mappings.entrySet()) {
|
||||||
String key = blockState.getValue().getAsString();
|
String key = blockState.getValue().getAsString();
|
||||||
if (!key.contains("piston")) continue;
|
if (!key.contains("piston")) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user