mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
shit yourself
This commit is contained in:
parent
c639be1429
commit
f82a606b66
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user