Botania

Botania

133M Downloads

Shovel tilts dirt wrong if CoFH Core is present

MelanX opened this issue ยท 0 comments

commented

Version Information

Forge version: 28.1.109
Botania version: r1.11-373
CoFH Core version: 1.14.4-0.2.0b

Further Information

Steps to reproduce:

  1. Use a shovel on dirt/grass (try to make a grass path)

What I expected to happen:
I expected that the dirt converts to Grass Path.

What happened instead:
The dirt converts into Farmland.
This happens because of these lines:
https://github.com/Vazkii/Botania/blob/master/src/main/java/vazkii/botania/common/item/equipment/tool/manasteel/ItemManasteelShovel.java#L76-L83
It has something to do with client and server side. If you remove these lines, everything will run perfectly but the UseHoeEvent will not be triggered. The server side will only run until these lines and then "break?". I don't know how to fix it and let the UseHoeEvent still in the code.
I don't know if there are other mods like CoFH Core which influence this behaviour.