From 193fc71acdc5058a60eb1bfe3609e1908ca75a07 Mon Sep 17 00:00:00 2001 From: Merith-TK Date: Sat, 17 Sep 2022 13:03:54 -0700 Subject: [PATCH] fix kubejs bullshit --- .minecraft/kubejs/server_scripts/ultron-loot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.minecraft/kubejs/server_scripts/ultron-loot.js b/.minecraft/kubejs/server_scripts/ultron-loot.js index f2ca6af..78cb95d 100644 --- a/.minecraft/kubejs/server_scripts/ultron-loot.js +++ b/.minecraft/kubejs/server_scripts/ultron-loot.js @@ -21,6 +21,7 @@ onEvent('block.loot_tables', event => { table.addPool(pool => { pool.addItem('minecraft:cobblestone', 1) + var i = 0 for (i = 0; i < stoneLootTable.length; i++) { pool.addItem(stoneLootTable[i],1).randomChance(stoneLootChance) } @@ -34,7 +35,7 @@ onEvent('block.loot_tables', event => { event.addBlock('minecraft:deepslate', table => { table.addPool(pool => { pool.addItem('minecraft:cobbled_deepslate', 1) - + var i = 0 for (i = 0; i < deepSlateLootTable.length; i++) { pool.addItem(deepSlateLootTable[i],1).randomChance(deepSlateLootChance) }