Snownee / Lychee

Minecraft data-driven in-world crafting mod.
https://www.curseforge.com/minecraft/mc-mods/lychee
28 stars 3 forks source link

Bug: ClientLevel cannot be cast to class ServerLevel #56

Closed firemaster1294 closed 11 months ago

firemaster1294 commented 1 year ago

Mod loader

Fabric

Minecraft version

1.18.2

Mod version

2.9.1

Modloader version

Forge 40.2.10

Modpack info

No response

If bug:

If bug: The latest.log file

https://pastebin.com/09gsddkW

Issue description

When right clicking on a plank with a stick, per a defined recipe that was created using KubeJS, I receive the error that ClientLevel cannot be cast to ServerLevel.

The associated crafting recipe can be found here: https://pastebin.com/fxeMqRp3

Snownee commented 1 year ago

Can you use location to check for blocks instead?

firemaster1294 commented 1 year ago

location works instead :) thanks!