diff --git a/pom.xml b/pom.xml
index 91c8664..2fd38b7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
pw.yumc
MiaoChat
- 1.3.1
+ 1.3.2
${project.name}
diff --git a/src/main/java/pw/yumc/MiaoChat/listeners/ChatListener.java b/src/main/java/pw/yumc/MiaoChat/listeners/ChatListener.java
index 8038862..1b02476 100644
--- a/src/main/java/pw/yumc/MiaoChat/listeners/ChatListener.java
+++ b/src/main/java/pw/yumc/MiaoChat/listeners/ChatListener.java
@@ -19,6 +19,7 @@ import org.bukkit.event.Listener;
import org.bukkit.event.player.AsyncPlayerChatEvent;
import org.bukkit.inventory.ItemStack;
+import me.clip.placeholderapi.PlaceholderAPI;
import pw.yumc.MiaoChat.MiaoChat;
import pw.yumc.MiaoChat.config.ChatConfig;
import pw.yumc.MiaoChat.config.ChatMessagePart;
@@ -74,7 +75,7 @@ public class ChatListener implements Listener {
cmp.then(tr, p);
} else {
// Log.d("追加文本: %s", format);
- tr.then(format);
+ tr.then(PlaceholderAPI.setPlaceholders(p, format));
}
}
}