mirror of
https://github.com/GTNewHorizons/EnderCore.git
synced 2026-11-19 03:39:20 +00:00
Deprecated methods need to be delomboked too!
Fix non static Handlers method
This commit is contained in:
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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user