mojira.dev
MC-308676

In Hardcore mode, you can switch the game mode directly in the options

Description: 

The issue is as stated in the title, and this includes being able to switch after death as well

Steps to Reproduce:

1.Create a world in Hardcore mode

2.Press Esc to open the menu

3.Click the Options button

4.Click the World Options button

5.Try clicking the Game Mode button to switch the game mode

Expected behavior: 

Unable to switch the game mode

Observed Result: 

You can switch the game mode, including in Spectator mode after death

The attachment demonstrates how to reproduce this vulnerability

Linked issues

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media]

Hi!
Thank you for your report! 

We're already tracking this issue at MC-308619, so I will resolve and link this ticket as a Duplicate. 

I suggest also to browse through the main issue for potential fixes. 

If you would like to add a vote and any extra information to the main ticket it would be appreciated. 

Quick Links: 
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Y.k

(Unassigned)

Unconfirmed

26.2 Pre-Release 4

Retrieved