Closed jdrueckert closed 2 years ago
@ujjman as you're tracking down NPEs at the moment, maybe this would be something for you :wink:
Actually I found this bug 3 to 4 days back and discussed it on discord. This error also occurs when the player jumps on the fool's platform using hjump
or hspeed
. I can fix this pretty easily but what happens when the player dies? Should the player respawn to the fool's platform or just start the game from where it died? If the player respawns on the fool's platform, then we need to useCharacterTeleportEvent
, which needs to be fixed for LAS
If the player entity has a component that indicates they already belong to the red or black team, then they should spawn on their team's base. If they don't, they should spawn on the fool's platform, I'd say.
Mitigated by #250 and underlying issue fixed by #242
I climbed the side of the fool's platform and jumped off it. When I hit the ground and died due to fall damage, the game crashed with the following NPE: