Cant add two modids
Ultraraptor4 opened this issue ยท 7 comments
using this config script in spawn.json
[
{
"result": "deny",
"mod": "graveyard",
"dimension": "minecraft:overworld"
},
{
"result": "deny",
"mod": "iceandfire",
"dimension": "minecraft:overworld"
}
]
and it doesnt work. when i use one mod id it works, but not both, have i typed it wrong?
What do you mean by 'doesn't work'? There are so many ways something can fail. Also what version?
mod mods continue to show when i type /incontrol list
on 1.20.1
individually they work, but when i attempt to combine them is where it fails
Try adding "when": "onjoin" to both rules
Also individual or together doesn't make a difference
both: [
{
"result": "deny",
"mod": "iceandfire",
"dimension": "minecraft:overworld"
},
{
"result": "deny",
"mod": "graveyard",
"dimension": "minecraft:overworld"
}
]
single:
[
{
"result": "deny",
"mod": "iceandfire",
"dimension": "minecraft:overworld"
}
]
[
{
"result": "deny",
"mod": "iceandfire",
"when": "onjoin",
"dimension": "minecraft:overworld"
},
{
"result": "deny",
"mod": "graveyard",
"when": "onjoin",
"dimension": "minecraft:overworld"
}
]
like this?