I have a little problem I can't get the ui to work anymore since the last version I think I must have put something in the condition to open the ui
the manifest is up to date
//Module
import { world } from '@minecraft/server'
import { getScore } from '../utilities/utilities'
import { ActionFormData } from '@minecraft/server-ui'
//Condition
world.events.entityHit.subscribe(source => {
if (source.entity.typeId === 'minecraft:player') {
if (source.hitEntity.typeId === 'npc:arena') {
openArenaMenu(source.entity)
}
}
})