Closed LexManos closed 5 years ago
Using a Block level field is just asking for concurrency issues. So pass the stack in via the Raytrace value.
Also, fixed NPE that you cause in other mods by returning null from getCapability/getTarget.
Thanks! I like your solution to pass the chain in as a BlockRayTraceResult, I haven't thought of that.
BlockRayTraceResult
Using a Block level field is just asking for concurrency issues. So pass the stack in via the Raytrace value.
Also, fixed NPE that you cause in other mods by returning null from getCapability/getTarget.