WurmServerModLauncher
WurmServerModLauncher copied to clipboard
getBehavioursFor function using deprecated function.
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
- In the same class. Here the functions using them should be deprecated themselves, or they should return null like the other overloads of getBehavioursFor.
- In the same package in ChainedBehaviourProvider. These should maybe be deprecated instead of using @SuppressWarnings("deprecation")