8000 Clear refresh data when changing server (packet events) · Issue #509 · tritonmc/Triton · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Clear refresh data when changing server (packet events) #509
Open
@diogotcorreia

Description

@diogotcorreia

When keeping track of refresh data, Triton needs to make sure the data isn't mixed between servers.
The easiest way would be to just clear everything when changing servers, but for correctness, it makes sense to clear on certain packets.
It is not clear from the packet descriptions, which packets clear what, but by peeking into the Velocity code base, it seems like the following:

JOIN_GAME:

  • clears chunks and entities

START_CONFIGURATION/END_CONFIGURATION (?, but likely when entering the config state):

  • clears boss bars
  • clears tab
  • clears tab header footer

Velocity manually clears on 1.20 and below:

  • boos bars
  • tab

Unknown:

  • tab header footer
  • scoreboards

Metadata

Metadata

Assignees

No one assigned

    Labels

    module:coreRelated to the core moduletype:bugSomething isn't working as expected

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0