ago1024 / WurmServerModLauncher

Wurm Unlimited Mod Launcher
59 stars 21 forks source link

getBehavioursFor function using deprecated function. #71

Open Tyoda opened 2 years ago

Tyoda commented 2 years ago

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

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")