mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-26 13:53:05 +00:00
Fix erroneous warning in InjectorGroupInfo
This commit is contained in:
1 parent
c1d494d41c
commit
35acd06d4b
1 file changed
+1
-1
@@ -225,7 +225,7 @@ public class InjectorGroupInfo {
|
||||
throw new IllegalArgumentException("Cannot set zero or negative value for injector group max count. Attempted to set max="
|
||||
+ max + " on " + this);
|
||||
}
|
||||
if (this.maxCallbackCount > 0 && this.maxCallbackCount != max) {
|
||||
if (this.maxCallbackCount < Integer.MAX_VALUE && this.maxCallbackCount != max) {
|
||||
LogManager.getLogger("mixin").warn("Conflicting max value '{}' on @Group({}), previously specified {}", max, this.name,
|
||||
this.maxCallbackCount);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user