mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-12-21 16:47:57 +01:00
Use correct constructor in MappedLegacyBlockItem (#721)
This commit is contained in:
parent
09eda34051
commit
1ac504afb9
@ -33,7 +33,7 @@ public class MappedLegacyBlockItem {
|
||||
this.id = id;
|
||||
this.data = data;
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user