Avaritia:Reforged

Avaritia:Reforged

45.5k Downloads

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

tinyzooseven opened this issue · 2 comments

commented

Checks / 检查

  • I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求,以避免重复报告。
  • I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查,如果我不按照说明进行操作,该问题可能会被直接关闭。

Description / 描述

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.m_206579_()" because the return value of "net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer()" is null

commented

fix at next release version

commented

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.m_206579_()" because the return value of "net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer()" is null

you can get latest version at Action