mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-11 01:38:07 +02:00
Little more info on a debug message
This commit is contained in:
parent
288379c06a
commit
926aea53f6
@ -865,7 +865,8 @@ public class ReflectionManager {
|
|||||||
throw new IllegalArgumentException("Unable to find Serializer for " + value + (
|
throw new IllegalArgumentException("Unable to find Serializer for " + value + (
|
||||||
value instanceof Optional && ((Optional) value).isPresent() ?
|
value instanceof Optional && ((Optional) value).isPresent() ?
|
||||||
" (" + ((Optional) value).get().getClass().getName() + ")" :
|
" (" + ((Optional) value).get().getClass().getName() + ")" :
|
||||||
"") + "! Are you running the latest version of ProtocolLib?");
|
value instanceof Optional || value == null ? "" : value.getClass()
|
||||||
|
.getName()) + "! Are you running " + "the latest " + "version of " + "ProtocolLib?");
|
||||||
}
|
}
|
||||||
|
|
||||||
WrappedDataWatcherObject watcherObject = new WrappedDataWatcherObject(id, serializer);
|
WrappedDataWatcherObject watcherObject = new WrappedDataWatcherObject(id, serializer);
|
||||||
|
Loading…
Reference in New Issue
Block a user