-
-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.NullPointerException #809
Comments
It's works perfectly on ProtocolLib4.3 |
I was going to post the same bug so i guess i'll post it here to avoid the spam Describe the bug
To Reproduce Expected behavior Screenshots Version Info Additional context
|
@luanmenglei @hugo4715 as a debug step, can you try calling |
It works perfectly with that fix 🥇 |
Describe the bug
WrappedBlockData.createData(Material.SIGN_POST) I use this to create a BlockData
and here are the errors:
Caused by: java.lang.NullPointerException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
at com.comphenix.protocol.reflect.accessors.DefaultMethodAccessor.invoke(DefaultMethodAccessor.java:16) ~[?:?]
at com.comphenix.protocol.wrappers.WrappedBlockData$OldBlockData.createOldData(WrappedBlockData.java:238) ~[?:?]
at com.comphenix.protocol.wrappers.WrappedBlockData$OldBlockData.access$400(WrappedBlockData.java:164) ~[?:?]
at com.comphenix.protocol.wrappers.WrappedBlockData.createData(WrappedBlockData.java:300) ~[?:?]
Version Info
ProtocolLib 4.4 & ProtocolLib 4.5
The text was updated successfully, but these errors were encountered: