-
Bug
-
Resolution: Unresolved
-
None
-
1.19.4, 1.20 Pre-release 5
-
None
-
Community Consensus
-
Entities, Player
-
Normal
-
Platform
During thunderstorm, random lightning strikes can hit players in spectator game mode.
In ServerLevel.java, there are findLightningTargetAround(getBlockRandomPosition(...)). That method calls getEntitiesOfClass(...) that checks for isAlive of nearby entities, but not for game mode of it in case of player (so creative players are also affected by this, even though they can't take damage).