LoliKingdom / LoliASM

The lolis are now preparing to bytecode manipulate your game.
GNU Lesser General Public License v2.1
104 stars 22 forks source link

Fix `player.setInvulnerable(true);` not working #173

Closed Desoroxxx closed 1 year ago

Desoroxxx commented 1 year ago

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.