Skip to content

Bug with key words? #320

@BrainRTP

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?

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