Skip to content

[26.1.2-> 1.21.11] Older version of client was set as spectator when it died, and thus was unable to attack. #1267

@LoliColleen

Description

@LoliColleen

'/viaversion dump' Output

https://dump.viaversion.com/5f4052d88c5ec3af9ce6e6a9dc00ca44355f0531bb3e15c31caa5c0abc164cdb

Server/Client Error

Put the mclo.gs link or text here.

Bug Description

Older version of client was set as spectator when it died, and thus was unable to attack

Steps to Reproduce

  1. Prepare 1.21.11 version client and 26.1.2 version Paper server with viaversion and viabackwards
  2. Register the listener:
    @EventHandler void onPlayerDeath(PlayerDeathEvent event) { event.getPlayer().setGameMode(GameMode.SPECTATOR); }
  3. Die and respawn
  4. Set to survival mode and try to attack any mob
  5. Can't attack

Additional Server Info

No response

Checklist

  • Via plugins are only running on EITHER the backend servers (e.g. Paper) OR the proxy (e.g. Velocity), not on both.
  • I have included a ViaVersion dump.
  • If applicable, I have included a paste (not a screenshot) of the error.
  • I have tried a build from https://ci.viaversion.com/ and the issue still persists.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions