In 16.5 and 16.1 when I use $player->setGamemode(3) sometimes player get creative gamemode 0.o And in console written: 'Set own game mode to creative' This mean, that performed this line, i.e $client != false, but i use $player->setGamemode(3), not $player->setGamemode(3, true) Why? Sorry for my english :c
Looooool, when I write in console: gm 3 name And name is op -> gamemode change to 3, then gamemode change to 1 If name is no op, gamemode change only to 3 (Wow) Wtf? It's not my plugin's! 0.o
What exactly are you talkin gabout? I don't understand. If you use $player->setGamemode(), it has no relevance with the console message at all.
@jojoe77777 is correct. Please feel free to report this to the GitHub issue tracker. It may not be fixed immediately as it's not a high-priority issue.