Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +01:00
Fix: Opening inventory menus in spectator mode (#4407)
Revert to spectator_viewer instead of the native Bedrock spectator menu. While it looks uglier - e.g. it's showing health/hunger bars; it allows opening menus. It'll also be needed for entity spectating, since clicking on things isnt possible in bedrocks spectator mode
Dieser Commit ist enthalten in:
Ursprung
87779dca88
Commit
7bcecdf403
@ -270,7 +270,7 @@ public final class EntityUtils {
|
|||||||
return switch (gamemode) {
|
return switch (gamemode) {
|
||||||
case CREATIVE -> GameType.CREATIVE;
|
case CREATIVE -> GameType.CREATIVE;
|
||||||
case ADVENTURE -> GameType.ADVENTURE;
|
case ADVENTURE -> GameType.ADVENTURE;
|
||||||
case SPECTATOR -> GameType.SPECTATOR;
|
case SPECTATOR -> GameType.SURVIVAL_VIEWER;
|
||||||
default -> GameType.SURVIVAL;
|
default -> GameType.SURVIVAL;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren