mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-13 15:16:50 +01:00
Convert ChatComponent to its nms value
This commit is contained in:
parent
cbe1a09ded
commit
f43ccb67d2
@ -811,6 +811,8 @@ public class ReflectionManager {
|
|||||||
return Optional.empty();
|
return Optional.empty();
|
||||||
else
|
else
|
||||||
return Optional.of(val);
|
return Optional.of(val);
|
||||||
|
} else if (val instanceof WrappedChatComponent) {
|
||||||
|
return Optional.of(((WrappedChatComponent) val).getHandle());
|
||||||
}
|
}
|
||||||
} else if (value instanceof Vector3F) {
|
} else if (value instanceof Vector3F) {
|
||||||
Vector3F angle = (Vector3F) value;
|
Vector3F angle = (Vector3F) value;
|
||||||
|
Loading…
Reference in New Issue
Block a user