diff --git a/core/src/main/java/tc/oc/pgm/picker/PickerMatchModule.java b/core/src/main/java/tc/oc/pgm/picker/PickerMatchModule.java index 0d47885f19..7f97a2cb69 100644 --- a/core/src/main/java/tc/oc/pgm/picker/PickerMatchModule.java +++ b/core/src/main/java/tc/oc/pgm/picker/PickerMatchModule.java @@ -693,10 +693,8 @@ private void handleInventoryClick( if (cmm.getCanChangeClass(player.getId())) { cmm.setPlayerClass(player.getId(), cls); player.sendMessage( - text() - .append(translatable("match.class.ok", NamedTextColor.GOLD)) - .append(text(name, NamedTextColor.GREEN)) - .build()); + translatable( + "match.class.ok", NamedTextColor.GOLD, text(name, NamedTextColor.GREEN))); scheduleRefresh(player); } else { player.sendMessage(translatable("match.class.sticky", NamedTextColor.RED));