Wrong command syntax halts the server.
martinambrus opened this issue ยท 5 comments
Hi, I just tried to create a portal by using a "command:somecommand" syntax, where I forgot to enclose somecommand in quotes. This has completely slowed down the server until the point it fell over. Furthermore, trying this with quotes, it ignored the closing one and took everything after the closing quote as a command, resulting in this set as a command to execute: "rtp" triggerblock:water (rtp is the actual command)
Update: upon further investigation, the command syntax does not work even when it's the last thing left in the chat line. It still freezes and crashes the server. This is all Spigot 1.8.8
first, I forgot both, then it did the same when both were in and command was the last thing in the chat
I will check, as far as I remember the code shouldnt have any problems like that but problems like this can be caused by silly little mistakes :P
I will try to replicate this with a build of 1.8.8. I am not sure why this does this :P was it if you forget the second " or both?
I have verified the bug and found the issue, rather than using a += I kept setting the loop back to 1 so it was infinitely looping, for now just don't use the command argument (sorry for the inconvenience. Ill post a working test release link here when possible)