Allow onjoin doesn't work after Deny onjoin
TruffleHistorian opened this issue ยท 2 comments
Mod version : incontrol-1.20-9.2.6
Issue : Allowing a mob to appear with game stages works fine with "position" and "finalize" but doesn't work when using "onjoin". In the case below, the mob will not spawn even when I have the correct stage.
[
{
"mob": ["minecraft:wither"],
"when": "onjoin",
"result": "deny"
},
{
"mob": ["minecraft:wither"],
"gamestage": "wither",
"when": "onjoin",
"result": "allow"
}
]
This is explained in the documentation. Rules are executed from top to bottom. First rule that matches is executed. You need to swap your two rules