satoshinm / NetCraft

Web-based fork of fogleman/Craft ⛺
https://satoshinm.github.io/NetCraft/
MIT License
57 stars 13 forks source link

Typing /f unexpectedly toggles /noclip #150

Closed satoshinm closed 7 years ago

satoshinm commented 7 years ago

..or actually /anything unrecognized

satoshinm commented 7 years ago
    else if (sscanf(buffer, "/noclip") == 0) {

There are no variables scanned, this should be strcmp!