In other words, that error is thrown even with a loader with nine filter slots, whereas the error states that nine or fewer should be fine. Should you change that 9 to anything else over five, you get the same error, telling you the maximum is whatever you put. Including fun stuff like this:Error while loading entity prototype "ore-loader" (loader): Maximum count of filtered items in loader is 9
It almost sounds like the error is supposed to print the maximum allowed filter count, but is instead printing the actual filter count.
In other words, something like this:
Code: Select all
int current = prototype.filter_count; int maximum = Constants.MAX_LOADER_FILTERS; if (current > maximum) throw new IllegalArgumentException("Error while loading entity prototype "+prototype.name+" ("+prototype.type+"): Maximum count of filtered items in loader is "+current)