This commit is contained in:
mani1232 2024-09-05 17:57:51 +02:00
parent 2899dea790
commit 76a9df6f5b

View file

@ -22,7 +22,7 @@ public class ItemDisplayMeta extends AbstractDisplayMeta {
} }
public DisplayType getDisplayType() { public DisplayType getDisplayType() {
return DisplayType.VALUES[super.metadata.getIndex(offset(OFFSET, 1), 0)]; return DisplayType.VALUES[super.metadata.getIndex(offset(OFFSET, 1), (byte) 0)];
} }
public void setDisplayType(DisplayType displayType) { public void setDisplayType(DisplayType displayType) {