Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-09-07 13:22:54 +02:00
Fix piston mapping getting with blockconnections disabled
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren