Skip to content

addTitle() buggy (and solution). #823

Closed
@Muqsit

Description

Issue description

When sending title to player after you've already sent them a title some time ago, the title glitches.
The following could be the result:

  • The subtitle, if set, would still not be shown.
  • The player would receive a previously sent subtitle/title.

Steps to reproduce the issue

  1. Send the player a title with a subtitle using Player::addTitle("", "").
  2. Wait a few seconds.
  3. Send the player another title with a subtitle (make the text different from the first one to spot differences).
  4. Watch how they glitch.

OS and versions

  • PocketMine-MP: 7c66af5
  • PHP: 7.0.17
  • Server OS: Ubuntu 14.04 64-bit
  • Game version: Win10

Crashdump, backtrace or other files

-=-

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions