mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 07:02:32 +01:00
fix 1.19.4 text display text opacity type
(cherry picked from commit e142a55f51
)
This commit is contained in:
parent
3a18235679
commit
3408df73f8
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user