mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 19:39:37 +00:00
Generics for everyone \o/
This commit is contained in:
1 parent
ac9344cbda
commit
23ed2dcaea
55 files changed
+164
-163
No files matched your search
@@ -41,7 +41,7 @@ public abstract class AbstractMod implements IPacketProvider, IInitializable {
|
||||
return new IBinnieGUID[0];
|
||||
}
|
||||
|
||||
public Class[] getConfigs() {
|
||||
public Class<?>[] getConfigs() {
|
||||
return new Class[0];
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ public abstract class AbstractMod implements IPacketProvider, IInitializable {
|
||||
}
|
||||
registerModules();
|
||||
if (this.getConfigs() != null) {
|
||||
for (final Class cls : this.getConfigs()) {
|
||||
for (final Class<?> cls : this.getConfigs()) {
|
||||
Binnie.CONFIGURATION.registerConfiguration(cls, this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user