-
Bug
-
Resolution: Fixed
-
None
-
1.19.0.29 Preview, 1.19.0.28 Beta
-
None
-
Confirmed
-
Multiple
-
868829
Hello, im testing some things with the GameTest framework and i found this
If you try to use /loot command throught GameTest then return an error status code, look:
world.events.itemUse.subscribe(data => {
const { item, source } = data;
if(item.id !== "minecraft:stick") return;
source.runCommand(`loot spawn ~ ~ ~ loot "entities/chicken"`); //=> Returning: [Scripting][error]-{"statusCode":-2147352576}});
Error: [Scripting][error]-{"statusCode":-2147352576}