mojira.dev
MCPE-84188

Villagers/pigs struck by lightning in peaceful difficulty are deleted

The bug

When struck by lightning in peaceful mode, villagers and pigs are deleted instantly.

How to reproduce

1. /difficulty peaceful
2. /summon villager
3. /summon lightning_bolt

Expected results
Villager takes damage like any other mob

Actual results
Villager disappears into thin air

Obviously, this is caused by the villager transforming into a witch (or pig into zombie pigman) and despawning instantly. This transformation is not supposed to occur in peaceful difficulty.

Comments 2

tryashtar

(Unassigned)

376061

Confirmed

Windows

lightning_bolt, peaceful

1.16.0.68 Beta, 1.14.60 Hotfix, 1.16.0

1.16.100.55 Beta

Retrieved