Skip to content

Commit

Permalink
add byte
Browse files Browse the repository at this point in the history
  • Loading branch information
mani1232 committed Sep 5, 2024
1 parent 2899dea commit 76a9df6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void setItem(ItemStack itemStack) {
}

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

0 comments on commit 76a9df6

Please sign in to comment.