KubeJS

KubeJS

61M Downloads

Problem when removing ores

Artizy2333 opened this issue · 0 comments

commented

Minecraft Version

1.18.2

KubeJS Version

1802.5.5-build.569

Rhino Version

1802.2.1-build.255

Architectury Version

4.11.93

Forge/Fabric Version

Forge 40.2.4

Describe your issue

I was trying remove Werewolves(mod) silver ore and Iceandfire(mod) copper ore,with these codes:

onEvent('worldgen.remove',remove=>{
remove.removeOres(ores=>{
ores.blocks=['werewolves:silver_ore','iceandfire:copper_ore']
})
})
it only removes silver ore,although i reverse their order...
here is a map seed and a coordinate where you can find the two ores quickly,if needed...
4778674918611953204
-5321 22 4855
at the southwest corner and look up.

To be honest,I am actually a novice programmer...so, is there a problem with my code or a bug in Kubejs?

Crash report/logs

No response