Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicEnchants MythicEnchants
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicEnchantsMythicEnchants
  • Issues
  • #36

Closed
Open
Created Oct 26, 2023 by Lxlp@LxlpDeveloper

Enchants do not update their skill until server restart

Description

I tried to use /me reload while the enchantment was both on the item and removed from it, but it seems like the associated skills ( mechanic, targeter, trigger and all of that) are "locked" once they are first loaded, and cannot be changed until server restart.

Examples

What was first loaded

TEST:
  Display: 'Test'
  MinLevel: 1
  MaxLevel: 3
  Rarity: COMMON
  Skills:
  - command{c="say <skill.var.enchant-name> <skill.var.enchant-level> <skill.var.enchant-slot>"} @self ~onUse

What i changed it to

TEST:
  Display: 'Test'
  MinLevel: 1
  MaxLevel: 3
  Rarity: COMMON
  Skills:
  - command{c="say <skill.var.enchant-name> <skill.var.enchant-level> <skill.var.enchant-slot> HELP AHHHHHH"} @self ~onDamaged

Server version

MC 1.19.4

PaperMC 550

Mythicmobs dev build 4808 (latest at the time of writing)

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking