Merge pull request #16 from mani1232/master

add byte
This commit is contained in:
Tofaa 2024-09-05 18:59:35 +03:00 committed by GitHub
commit b18c8399ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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) {