shit yourself

This commit is contained in:
Boblet 2025-12-16 16:16:19 +01:00
parent c639be1429
commit f82a606b66

View File

@ -63,7 +63,7 @@ public class GenericRecipe {
public GenericRecipe setPools(String... pools) {
this.blueprintPools = pools;
for(String pool : pools) {
if(pool.startsWith(GenericRecipes.POOL_PREFIX_528)) throw new IllegalArgumentException("Tried initializing a recipe's default blueprint pool with a 528 blueprint - this is not allowed.");
if(!GeneralConfig.enable528 && pool.startsWith(GenericRecipes.POOL_PREFIX_528)) throw new IllegalArgumentException("Tried initializing a recipe's default blueprint pool with a 528 blueprint - this is not allowed.");
GenericRecipes.addToPool(pool, this);
}
return this;