-
Notifications
You must be signed in to change notification settings - Fork 28
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
NPE on breaking a bed block #62
Comments
I figured 1.9 would give us troubles. I'll have to setup a 1.9 test enviroment to find the "new?" data values for the bed. This is caused by the beds facing an unknown direction resulting in HawkEye unable to determine their initial block, and extending block. Also, does this happen on any direction? We'll have to include some byte math to find the proper rotations for now on instead of hand cording known values i suppose. |
Couldn't reproduce it for whatever reason. I believe the bed that was broken was facing with pillow towards south. |
So is this nullpointer a frequent or rare exception? If it's rare, i'll likely just ignore the logg if the direction is "unknown". I'm guessing someone set a weird data value using worldedit. |
survival world, so nobody used WorldEdit for that (I only had access, and it's been uninstalled for many months). So unfortunately not sure. Perhaps it happened while someone was sleeping in it? Either way, first time I saw it in my console, I'll check my logs for any other occurrences - so probably rare. |
The data value shouldn't change when somebody is sleeping on it. It only has a total of 4 states and those are simply the directions. If you're able to figure out how this is reproduced it'd be very very helpful. My best guess is somehow one side of the bed is being removed without altering the other side which would screw with HawkEye's logging. This can be done if physics isn't applied to a block (Which plugins CAN do, HawkEye even does it). |
So that's the only time it errored, log search doesn't indicate any other instances of failing to pass this event. Will continue to monitor. |
/version hawkeye
reports 1.7.2.The text was updated successfully, but these errors were encountered: