Skip to content

Bug with key words? #320

Description

@BrainRTP

Hi! I have this language.yaml

command:
  setSpawnpoint: "spawnpoint"
  teleport: "telepor"
  toggleMsg:
    on: "message enable"
    off: "message disable"

When i try get command.toggleMsg.on or command.toggleMsg.off i have null (in this case Missing language key - [command, toggleMsg, off]).
Code

configuration.get().node("command", "toggleMsg", "off").getString("&cMissing language key - &e" + Arrays.toString(key))

It is bug or not?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions