-
Bug
-
Resolution: Duplicate
-
None
-
1.20.4
-
Java, Windows 10, 1.20.4, Multiplayer
-
Unconfirmed
-
Survival
-
(Unassigned)
I was hosting a hardcore server recently and me and friends came across this bug, if you spectate an entity and then rejoin you get revived which I expect is not the intended behavior.
I tested this in a LAN world and on a server.jar. if you host the world and open it to lan anyone who joins the lan world can revive, the host cannot revive in this way but by creating a server using the official server.jar file you can revive as you're no longer a server host.
Steps to reproduce:
- Die
- Spectate a mob
- leave the world/server
- rejoin the world/server
- you are alive
when hosting a server the issue is MC-227566 as force-gamemode is set to true by default.
but when running via LAN the issue persists, when hosting a singleplayer world via LAN maybe certain settings cause it to have force-gamemode set to true but from what I'm aware there is no server.properties for single player worlds so i cannot check.
- duplicates
-
MC-227566 Hardcore mode does not work properly on servers (allows players to respawn) if force-gamemode is set to true
- Open