Nova-Committee / Re-Avaritia

MIT License
10 stars 10 forks source link

[Question / 询问] mods.avaritia.ExtremeTableCrafting.remove returns error in crafttweaker (1.20.1) #54

Closed tinyzooseven closed 3 months ago

tinyzooseven commented 3 months ago

Checks / 检查

Description / 描述

when i try to use crafttweaker to remove a recipe from the extreme crafting table using the line: mods.avaritia.ExtremeTableCrafting.remove(); , it returns this error in chat:

Unable to run action due to an error Cannot invoke "net.minecraft.server.MinecraftServer.m206579()" because the return value of "net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer()" is null

cnlimiter commented 3 months ago

fix at next release version

cnlimiter commented 3 months ago

when i try to use crafttweaker to remove a recipe from the extreme crafting table using the line: mods.avaritia.ExtremeTableCrafting.remove(item:avaritia:infinity_bow); , it returns this error in chat:

Unable to run action due to an error Cannot invoke "net.minecraft.server.MinecraftServer.m206579()" because the return value of "net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer()" is null

you can get latest version at Action