Commented out player entity check causes crash if blocks are placed by non-player entity
skylorbeck opened this issue · 7 comments
This commented out check causes a crash if a modded entity places blocks see: skylorbeck/MageHand#8
This is the Forge version for reference https://github.com/Creators-of-Create/Create/blob/mc1.18/dev/src/main/java/com/simibubi/create/content/curiosities/symmetry/SymmetryHandler.java#L52
Heads up, this bug is back and the code is commented out again.
This event only listens for players placing blocks. If non-players placing is crashing, it's a separate issue and I'd still like to see the log and maybe fix it.
looking at this again, this is not an issue. The comment could be removed, but my fix was a null check a few lines down, which is still present. If something is crashing, it's a separate issue.