LootTweaker

LootTweaker

17M Downloads

Clearing loottables is not working

MisterObvious25 opened this issue ยท 0 comments

commented

Description:
When trying to clear a loottable, it throws a error

Steps to reproduce:
Add script to script directory.
Start the game.
Create new world.
World wont load.

Script Used
import loottweaker.vanilla.loot.LootTables;
import loottweaker.vanilla.loot.LootTable;
import loottweaker.vanilla.loot.LootPool;
import loottweaker.vanilla.loot.Conditions;
import loottweaker.vanilla.loot.Functions;

val simpleDungeon = LootTables.getTable("minecraft:chests/simple_dungeon");

simpleDungeon.clear();

Version Info(Exact versions only):
LootTweaker-1.11.2-0.0.6.2.jar
CraftTweaker-1.11.2-3.0.26.jar
forge:1.11.2-13.20.0.2315
Minecraft:1.11.2

Logs and other useful information:
Error log