Closed Ipsis closed 8 years ago
The reason is that the DrawBlockHighlightEvent RayTraceResult target is not of type block. So you just need to ignore all of those events that are !BLOCK, just like the drawSelectionBox handler does.
Fixes the bug, but removes the block highlight from air :(
Holding a marker and looking at an ItemFrame will cause an error due to getting the blocks state of a position that is invalid.
Reported by MrAmericanMike on the curse page.