Terasology / LightAndShadow

Light & Shadow is an experimental game type set in a quirky Alice in Wonderland inspired setting
Apache License 2.0
8 stars 22 forks source link

fix: NPE while using kill command on platform #252

Closed ujjman closed 2 years ago

ujjman commented 2 years ago

This PR will fix the NPE that occurs while using kill command on the fool's platform and teleports the player back to initial spawning position

jdrueckert commented 2 years ago

Oh nevermind, I just noticed, that the command is expected to kill the player using it. It doesn't have any parameter that would allow to specify which player to kill. Might be a neat tooling addition, though, to add a kill command for administrators that allows killing a specific player. Would help if they get stuck for whatever reason, for instance.