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 141
    • Issues 141
    • 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
  • #258

Closed
Open
Created Jan 07, 2021 by SkyrimX SkyrimV@SkyrimX

Post Restart MythicMobs Error

Summary

There is mob that has 3 lives, these 3 lives are counted through the use of variables. It works fine, but after the server restarts, the first mob(in this case, the Cerberus), launches an error in the console, and gives it 1 extra life, meaning 4 lives now. This is not intended behavior. for some reason, the issue is settled after it happens once, and the count is fine after the first mob, however I would like if the first Cerberus doesn't have 4 lives and doesn't fire an error in the console

Steps to reproduce

The Skill File: https://pastebin.ubuntu.com/p/4qpPycKK3B/

The Mob File: https://pastebin.ubuntu.com/p/s5TtTGWTTk/

Restart the server, after restart, spawn the mob using /mm m spawn Cerberus, and kill it two times.

Current behavior

It's firing a console error at the very first mob being killed for the second time (second life of it) after a server restart and giving an extra life.

Intended correct behavior

The intended behavior is for it to not fire an error at the very first mob spawned of this type(no other mobs like this currently in my server) and to not give it an extra life.

Server log file

-> This is the error, recreated. https://pastebin.ubuntu.com/p/wTwyVpJzg8/

-> This is the server log. latest.txt

Debug log snippet

This is on debug level (4). https://pastebin.ubuntu.com/p/C9zHhFzd2R/

Proposed fixes

I do not know as I am not experienced in Java.

NOTE: Read discord ticket called "mythicmobs-0567".

Edited Jan 07, 2021 by SkyrimX SkyrimV
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking