#Why does this message keep on appearing?

9 messages · Page 1 of 1 (latest)

plain nebula
#
mods/MysticalAgriculture/Tags.js#12: Error in 'ServerEvents.tags': dev.latvian.mods.rhino.EcmaError: ReferenceError: "e" is not defined.
lament oasisBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

plain nebula
#

here's my code

#
const seedID = [ 'mysticalagriculture:entro_seeds'];

ServerEvents.tags('item', (e) => {
  for (let seeds of seedID) {
     e.add('c:seeds', seeds)
     e.add('mysticalagriculture:seeds',seeds)
  }
});
ServerEvents.tags('block', allthemods => {
    for (let seeds of seedID) {
        e.add('cucumber:mineable/sickle', seeds.replace('seeds', 'crop'))
        e.add('minecraft:crops', seeds.replace('seeds', 'crop'))
        e.add('minecraft:bee_growables', seeds.replace('seeds', 'crop'))
        e.add('mysticalagriculture:crops', seeds.replace('seeds', 'crop'))
        e.add('mynethersdelight:above_propagate_plant', seeds.replace('seeds', 'crop'))
        e.add('ae2:growth_acceleratable', seeds.replace('seeds', 'crop'))
        e.add('minecraft:sword_efficient', seeds.replace('seeds', 'crop'))
        e.add('mynethersdelight:resurgent_soil_plant', seeds.replace('seeds', 'crop'))
      }
    })
#

Or like a similar message for a different line of tag from the original message

crystal orbit
#

you could probably also use RegEx for this if you're just wanting to apply it to every seed in MA

#

but if you're only wanting specific ones, this works fine enough

plain nebula