Skip to content

An bug in EntityTarget which may cause to leak of memory #513

Description

@MrMks

In my test, two instance of EntityTarget of the same player will have different hashcode and the two instance do not be equal, mainly because of the implement of the equal() method of Location.

By removing the check about loc in method hashcode() & equal(Object), the mechanic looks running correctly.

Sorry for my bad english, since it is not my mother language.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions