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
  • #421

Closed
Open
Created May 24, 2021 by AlessioGr@AlessioGr

/mm skills info and /mm m info are causing a java.lang.ArrayIndexOutOfBoundsException

Summary

I run /mm skills info or /mm m info and I'm getting a console error together with "An internal error occurred while attempting to perform this command". Also, /mm skills just shows the help page of /mm m - is that intended?

The error does not occur when I specify the 3. argument, like /mm m info AngrySludge

Steps to reproduce

Run /mm skills info or /mm m info. I'm using the default configuration and a recent 1.16.5 Airplane.gg server jar.

Intended correct behavior

I don't know, it definitely shouldn't throw an error message - maybe a message saying that I need to specify the 3. argument.

Debug log snippet

https://pastebin.com/dNZtFASp

Proposed fixes

A simple if(args.length == 2) catch condition will do it.

Edited May 24, 2021 by AlessioGr
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking