Having cheats enabled shows always "Cheats: False" in the crash report
The bug
Any survival or creative world created with cheats enabled shows "Cheats: False" in the crash report:
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Code analysis
Code analysis by Marcono1234 can be found in this comment.
Linked Issues
- Cannot Reproduce
Kumasasa- 25
- 12
- Confirmed
Low
- Crash Debug Text
13w04a - 20w29a
13w04a 13w07a 13w09a 13w09c 13w10a 13w10b 1.5 1.5.1 1.5.2 13w17a 13w18c 13w19a 13w21b 13w22a 13w23a 13w23b 13w26a 1.6 1.6.1 1.6.2 1.6.4 13w36b 13w37a 13w38c 13w39b 13w41a 1.7.1 1.7.2 1.7.3 1.7.4 14w05a 1.7.5 14w11b 14w26c 1.7.10 1.8 1.8.1-pre3 1.8.1 1.8.2-pre1 1.8.8 15w32c 15w51b 1.10.2 16w40a 16w42a 1.11.2 1.12.1 1.12.2 18w02a 18w06a 18w20c 1.13.1 1.14.4 19w38b 20w07a 1.16.1 20w29a
Created Issue:
A world created with cheats enabled shows "Cheats: False" in the crash report
Any survival or creative world created shows "Cheats: False" in the crash report:
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: falseEnvironment
Win7-64 / JVM 7U11-64
Any survival or creative world created with cheats enabled shows "Cheats: False" in the crash report:
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
discovered while testing
A world created withcheats enabled shows "Cheats: False" in the crash reportHaving cheats enabled shows always "Cheats: False" in the crash report
relates to
Any survival or creative world created with cheats enabled shows "Cheats: False" in the crash report:
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Any survival or creative world created with cheats enabled shows "Cheats: False" in the crash report:
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Any survival or creative world created with cheats enabled shows "Cheats: False" in the crash report:
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Code analysis by Marcono1234 can be found in this comment.
Any survival or creative world created with cheats enabled shows "Cheats: False" in the crash report:
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Code analysis by Marcono1234 can be found in this comment.
The bug
Any survival or creative world created with cheats enabled shows "Cheats: False" in the crash report:
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: falseCode analysis
Code analysis by Marcono1234 can be found in this comment.
Win7-64 / JVM 7U11-64
Confirmed in 1.14.1
Confirmed in 1.14
Confirmed in 1.15.2
Confirmed in 1.14.2
Confirmed in 1.15.2 Pre-Release 2
Confirmed in 1.15.2 Pre-Release 1
Confirmed in 1.15.1
Confirmed in 1.15
Confirmed in 1.13.2
Confirmed in 1.14.3
Confirmed in 1.14.4
Affects 1.15.1 Pre-Release 1
Confirmed in 1.16 Pre-Release 8
Affects 20w06a
Confirmed in 1.16 Pre-Release 7
Confirmed in 1.16 Pre-Release 6
Confirmed in 1.16 Pre-Release 5
Confirmed in 1.16 Pre-Release 4
Confirmed in 1.16 Pre-Release 3
Confirmed in 1.16 Pre-Release 2
Confirmed in 1.16 Pre-Release 1
Confirmed in 20w22a
Confirmed in 20w21a
Confirmed in 20w20b
Confirmed in 20w19a
Confirmed in 20w18a
Confirmed in 20w17a
Confirmed in 20w16a
Confirmed in 20w15a
Confirmed in 20w14a
Confirmed in 20w13b
Confirmed in 20w13a
Confirmed in 20w12a
Confirmed in 20w11a
Confirmed in 20w10a
Confirmed in 20w09a
Confirmed in 20w08a

Crash report of creative and survival attached, both worlds created with cheats enabled
Confirmed for 1.7.5 and 14w11b
Confirmed for
Please link to this comment in the description
The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.
The reason for this is that the crash report is thrown client side. Therefor all information displayed is the one available to the client. The problem is that the packet SPacketJoinGame does not contain information about whether or not commands are enabled (same should apply to mapFeaturesEnabled). This could probably be solved by having the server (and the client) create a crash report each.
Confirmed for 1.13.1.
The bug is in 20w07a
Cannot reproduce in 1.16-pre2. Triggered a debug crash but there's not anything related to the "Level game mode" in it.
Confirmed in 1.16.1
Confirmed in 20w29a
Cannot reproduce in 21w37a. The crash states Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true.
@[Mod] ampolive, are you seeing this for a client or (integrated) server crash report (-client.txt or -server.txt)?
This issue appears to be about client crash reports only. However, in 21w37a the "-- Affected level --" section of a forced client crash report (triggered by holding F3 + C) does not seem to contain any information about game mode or cheats at all. Does a client crash report contain this information for you?
It is a server crash report. The client crash report indeed contains no information about the game mode.
Resolving as Cannot Reproduce then.