3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-12-27 08:30:10 +01:00

Use correct constructor in MappedLegacyBlockItem (#721)

Dieser Commit ist enthalten in:
EnZaXD 2024-04-17 08:46:48 +02:00 committet von GitHub
Ursprung 09eda34051
Commit 1ac504afb9
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -33,7 +33,7 @@ public class MappedLegacyBlockItem {
this.id = id; this.id = id;
this.data = data; this.data = data;
this.name = name != null ? "§f" + name : null; this.name = name != null ? "§f" + name : null;
this.block = block ? new IdAndData(id, data) : null; this.block = block ? data != -1 ? new IdAndData(id, data) : new IdAndData(id) : null;
} }
public int getId() { public int getId() {