Convert ChatComponent to its nms value

This commit is contained in:
libraryaddict 2018-08-06 02:22:36 +12:00
parent cbe1a09ded
commit f43ccb67d2

View File

@ -811,6 +811,8 @@ public class ReflectionManager {
return Optional.empty();
else
return Optional.of(val);
} else if (val instanceof WrappedChatComponent) {
return Optional.of(((WrappedChatComponent) val).getHandle());
}
} else if (value instanceof Vector3F) {
Vector3F angle = (Vector3F) value;