Skip to content

Commit

Permalink
login/data.go: Added IsEditorMode to client data (1.19.10) (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownOre committed Jul 13, 2022
1 parent 59cac89 commit 50f92e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions minecraft/protocol/login/data.go
Expand Up @@ -105,6 +105,8 @@ type ClientData struct {
// GUIScale is the GUI scale of the player. It is by default 0, and is otherwise -1 or -2 for a smaller
// GUI scale than usual.
GUIScale int `json:"GuiScale"`
// IsEditorMode is a value to dictate if the player is in editor mode.
IsEditorMode bool
// LanguageCode is the language code of the player. It looks like 'en_UK'. It follows the ISO language
// codes, but hyphens ('-') are replaced with underscores. ('_')
LanguageCode string
Expand Down

0 comments on commit 50f92e9

Please sign in to comment.