CommandAPI version
9.0.3
Minecraft version
1.20.1
Are you shading the CommandAPI?
Yes
What I did
publicclassGamemodeArgumentextendsCustomArgument<GameMode, String> implementsIArgument {
publicGamemodeArgument() {
super(newStringArgument(Lang.NODES_GAMEMODE.getString()), info -> {
GameModegm = getGamemode(info.input());
if (gm == null) {
throwCustomArgumentException.fromString("§x§F§F§5§1§5§1R§x§F§F§5§E§5§Eo§x§F§F§6§C§6§Cm§x§F§F§7§9§7§9u§x§F§F§8§7§8§7n§x§F§F§9§4§9§4a");
} else {
returngm;
}
});
}
}What actually happened
It does handle the colors the wrong way.
What should have happened
it should output rgb colors
Server logs and CommandAPI config
no logs/errors.
Other
No response
CommandAPI version
9.0.3
Minecraft version
1.20.1
Are you shading the CommandAPI?
Yes
What I did
What actually happened
It does handle the colors the wrong way.
What should have happened
it should output rgb colors
Server logs and CommandAPI config
no logs/errors.
Other
No response