Carpet TIS Addition

Carpet TIS Addition

530k Downloads

opPlayerNoCheat gamemode switcher working

Closed this issue ยท 1 comments

commented

Bug description

In update 1.21.6 of the mod with opPlayerNoCheat enabled players are not able to change game mode with command but they are able to change with the F3 +F4 key combination. Happens both on singleplayer and on server installation. I had the mod on 1.21.5 and these didn't happen. Something must have change.

Steps to reproduce

  1. Create a word
  2. run command /carpet opPlayerNoCheat true
  3. Press key combination F3+F4 to switch to creative

Expected behavior

It shouldn't allow you to use the game mode switcher menu to go into creative.

Actual behavior

When using the game mode switcher it allows you to go to creative when opPlayerNoCheat is enabled

Relevant logs

No response

Minecraft version

1.21.6

Carpet TIS Addition version

1.67.3

Fabric Carpet version

0.16.14

Other information

No response

Check list

  • I have verified that the issue persists in the latest version of the mod.
  • I have searched the existing issues and confirmed that this is not a duplicate.
commented

Mojang now send a dedicate packet instead of sending a regular /gamemode command for the F3 + F4 gamemode switch since 25w20a (mc1.21.6 snapshot), that's why opPlayerNoCheat does not cover that