Deprecated methods need to be delomboked too!

Fix non static Handlers method
This commit is contained in:
tterrag1098 committed 2015-10-24 21:58:44 -04:00
1 parent e53edcb802
commit 73b00fd059
1 file changed
+1 -1
@@ -181,7 +181,7 @@ public class Handlers {
* @param packageName
*/
@Deprecated
public void addPackage(String packageName) {
public static void addPackage(String packageName) {
if (Loader.instance().hasReachedState(LoaderState.INITIALIZATION)) {
throw new RuntimeException("This method must only be called in preinit");
}