Auto generate names for modded loot pools. Fixes #9589 (#9591)

This commit is contained in:
Sara Freimer authored and GitHub committed 2023-06-22 11:56:47 -07:00
1 parent 8c003dd965
commit 8768c00f31
1 file changed
-3
@@ -869,9 +869,6 @@ public class ForgeHooks
ctx.poolCount++;
if (!ctx.vanilla)
throw new JsonParseException("Loot Table \"" + ctx.name.toString() + "\" Missing `name` entry for pool #" + (ctx.poolCount - 1));
return ctx.poolCount == 1 ? "main" : "pool" + (ctx.poolCount - 1);
}