fix 1.19.4 text display text opacity type

(cherry picked from commit e142a55f51)
This commit is contained in:
mworzala 2023-06-07 17:01:40 -04:00 committed by Matt Worzala
parent 3a18235679
commit 3408df73f8
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ public class TextDisplayMeta extends AbstractDisplayMeta {
return super.metadata.getIndex(OFFSET + 3, -1);
}
public void setTextOpacity(int value) {
super.metadata.setIndex(OFFSET + 3, Metadata.VarInt(value));
public void setTextOpacity(byte value) {
super.metadata.setIndex(OFFSET + 3, Metadata.Byte(value));
}
public boolean isShadow() {