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 @unknown can be found in this comment.
Linked issues
discovered while testing 1
relates to 1
Attachments
Comments 13
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.
Cannot reproduce in 21w37a. The crash states Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
.
@@unknown, 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.
Crash report of creative and survival attached, both worlds created with cheats enabled