The original intent for this Mixin was to remove this.isInvulnerableDimensionChange() because it could be abused.
But returning false breaks player.setInvulnerable(true) this should still prevent players from abusing dimension changing while allowing mods and plugins to set an entity invulnerable.
The original intent for this Mixin was to remove
this.isInvulnerableDimensionChange()
because it could be abused. But returning false breaksplayer.setInvulnerable(true)
this should still prevent players from abusing dimension changing while allowing mods and plugins to set an entity invulnerable.