Skip to content

Commit

Permalink
Merge pull request #16 from mani1232/master
Browse files Browse the repository at this point in the history
add byte
  • Loading branch information
Tofaa2 authored Sep 5, 2024
2 parents 2899dea + 76a9df6 commit b18c839
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 b18c839

Please sign in to comment.