Skip to content

Commit 73aa5af

Browse files
authored
Merge pull request #12 from rainnvfx/patch-1
Changed staff-chat PAPI support
2 parents 40942a4 + 595334a commit 73aa5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/voxelarc/allaychat/chat/LocalChatManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ && handleMessage(from, message)) {
335335
@Override
336336
public void handleStaffChatMessage(Player from, String message) {
337337
Component component = ChatUtils.format(
338-
plugin.getStaffChatConfig().getString("format"),
338+
PlaceholderAPI.setPlaceholders(from, plugin.getStaffChatConfig().getString("format")),
339339
ChatUtils.papiTag(from),
340340
Placeholder.unparsed("message", message),
341341
Placeholder.unparsed("player", from.getName())

0 commit comments

Comments
 (0)