Hello, could someone help me with this error? [ERROR] ! Error in 'ServerEvents.recipes': Non [a-z0-9_.-] character in namespace of location: 1x thermal:gold_coin. This is not my code because I am trying to add the import mechanics from create above and boyond to my modpack on 1.20.1 forge
I think there is a problem here
function trading(event) {
let trade = (card_id, ingredient, output) => {
event.custom({
type: 'thermal:press',
ingredients: [
Ingredient.of(ingredient).toJson(),
Ingredient.of(card_id).toJson(),
],
result: [
Item.of(output).toResultJson()
],
energy: 1000
})
}
global.trades.forEach(element => {
if (global.transactions[element])
global.transactions[element].forEach(transaction => {
trade(KJ('tradecard' + element), transaction.in, transaction.out)
})
});
global.professions.forEach(element => {
if (global.transactions[element])
global.transactions[element].forEach(transaction => {
trade(KJ('professioncard' + element), transaction.in, transaction.out)
})
});
} and this is the whole code