Skip to content

GitLab

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

Closed
Open
Created Aug 16, 2023 by Lxlp@LxlpDeveloper

Multi Templates not working as Intended

When using multi templates, the correct behavior would be for templates to be loaded from leftmost to rightmost, and thus making the leftmost template being applied first and the rightmost template being applied last, giving the rightmost template the most "priority" over the others, making it override other options.

The opposite is happening.

For example, give this a try:

TestTemplate1:
  Type: ZOMBIE
  Equipment:
  - SHIELD OFFHAND
TestTemplate2:
  Type: ZOMBIE
  Equipment:
  - AIR OFFHAND

# 2 is applied last, so no shield should be present, but it is
TestTemplate3:
  Template: TestTemplate1, TestTemplate2
# 1 is applied last, so a shield should be present, but it's not
TestTemplate4:
  Template: TestTemplate2, TestTemplate1

Test Enviroment: MC 1.19.4 Paper 550 MythicMobs Dev Build 4682

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking