Enchanted: Witchcraft

Enchanted: Witchcraft

2M Downloads

[BUG]: Crash upon breaking datapack-added altar power provider

katubug opened this issue ยท 3 comments

commented

Please confirm the following

  • This bug is not in another current issue
  • This report is not a general support request. If it is, join the Discord

Minecraft version

1.20.1

Mod version

3.1.4

Describe the bug

I created a datapack to add a plant from Hexerei to provide altar power when nearby the altar. The datapack is loaded via KubeJS, and the tag added to the plant is also done through KubeJS. I loaded up the game and broke two Hexerei plants nearby the altar. I noticed some lag after the first one, and upon breaking the second one, the game crashed entirely.

Game Log

https://gist.github.com/katubug/5e8a12734608fa9f6b6d8e276c16b75e

Additional mods

Yes

Mod List or Modpack

Rather a lot of them, the list is in the log above.

commented

witchy_plants.json

Oh and I doubt it'll help much but here's the datapack, and here's the script which adds the tag:

ServerEvents.tags('block', event => {
event.add('forge:witchy_plants',
    'hexerei:sage_crop',
    'hexerei:mandrake_plant',
    'hexerei:belladonna_plant',
    'hexerei:mugwort_bush',
    'hexerei:yellow_dock_bush'
)
})
commented

It is now no longer happening. No idea lol.

commented

I am going to close this issue because it hasn't occurred again, so I'm assuming it was something I did wrong. If it reoccurs I'll be back with more info.