Skip to content

getBehavioursFor function using deprecated function. #71

@Tyoda

Description

@Tyoda

In org.gotti.wurmunlimited.modsupport.actions.BehaviourProvider the functions

  • getBehavioursFor(Creature performer, Item object, int tilex, int tiley, boolean onSurface, boolean corner, int tile)
  • getBehavioursFor(Creature performer, int tilex, int tiley, boolean onSurface, boolean corner, int tile)
    are still used in spite of being deprecated.

Solution ideas:
They are used

  1. In the same class. Here the functions using them should be deprecated themselves, or they should return null like the other overloads of getBehavioursFor.
  2. In the same package in ChainedBehaviourProvider. These should maybe be deprecated instead of using @SuppressWarnings("deprecation")

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