I am a mod producer and I have a user who encountered a crash that when placing a block from my mod that is an Y-axis Player Aligned block by hand in Creative Mode - the crash report is https://pastebin.com/D6Q1b8JM 2
The above-mentioned crash report focuses on these files - BlockWallConcreteStrokeVBeige1.class and BlockWallConcreteStrokeVBeige1$BlockCustom.class. The user claimed that server crashes when that block was placed.
BlockWallConcreteStrokeVBeige1.class - https://pastebin.com/WURd1D4x
BlockWallConcreteStrokeVBeige1$BlockCustom.class - https://pastebin.com/mmJd5UVa
(Blockstate) wallconcretestrokevbeige1.json - https://pastebin.com/ecEsix5q 2
I would like to clarify that 1) I have zero knowledge on Sponge API. I attempt to ask for help here only because this user uses Sponge for his server and he naturally uses my mod with it. 2) I made my mod with MCreator (I regret using that thing so much since I know how to code), which makes code tracing more challenging because they named every function names in the most inhumane way possible.
Someone told me that the problem is not likely to be linked with the Sponge, but rather with my code - the guy quoted:
"As for the issue at hand, the block they are placing has the property of direction where North,East,South,West are valid but not Down nor Up.
When the player places a block looking down it classes that as property down, however I believe it gets corrected before the block is actually placed. However it seems like the mod you pointed out, doesn’t account for this. Resulting in this crash."
Also according to the stacktrace in the crash report, a method call on a different mod called Tool Progression exists: tyra314.toolprogression.handlers.TooltipEventHandler.onGetToolTipEvent(TooltipEventHandler.java:79) Could the problem be caused by that instead???
I am a mod producer and I have a user who encountered a crash that when placing a block from my mod that is an Y-axis Player Aligned block by hand in Creative Mode - the crash report is https://pastebin.com/D6Q1b8JM 2
The above-mentioned crash report focuses on these files - BlockWallConcreteStrokeVBeige1.class and BlockWallConcreteStrokeVBeige1$BlockCustom.class. The user claimed that server crashes when that block was placed.
BlockWallConcreteStrokeVBeige1.class - https://pastebin.com/WURd1D4x
BlockWallConcreteStrokeVBeige1$BlockCustom.class - https://pastebin.com/mmJd5UVa
(Blockstate) wallconcretestrokevbeige1.json - https://pastebin.com/ecEsix5q 2
I would like to clarify that 1) I have zero knowledge on Sponge API. I attempt to ask for help here only because this user uses Sponge for his server and he naturally uses my mod with it. 2) I made my mod with MCreator (I regret using that thing so much since I know how to code), which makes code tracing more challenging because they named every function names in the most inhumane way possible.
Someone told me that the problem is not likely to be linked with the Sponge, but rather with my code - the guy quoted:
"As for the issue at hand, the block they are placing has the property of direction where North,East,South,West are valid but not Down nor Up.
When the player places a block looking down it classes that as property down, however I believe it gets corrected before the block is actually placed. However it seems like the mod you pointed out, doesn’t account for this. Resulting in this crash."
Also according to the stacktrace in the crash report, a method call on a different mod called Tool Progression exists: tyra314.toolprogression.handlers.TooltipEventHandler.onGetToolTipEvent(TooltipEventHandler.java:79) Could the problem be caused by that instead???
Thanks
Did you test it without toolprogression?