Skip to content

Commit 08acd42

Browse files
committed
MineDownに対応
1 parent 0112e0c commit 08acd42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/github/elic0de/thejpspit/player/PitPlayer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.github.elic0de.thejpspit.database.Database;
55
import com.github.elic0de.thejpspit.leveler.Levels;
66
import com.github.elic0de.thejpspit.util.ShowHealth;
7+
import de.themoep.minedown.MineDown;
78
import fr.mrmicky.fastboard.FastBoard;
89
import java.math.BigDecimal;
910
import java.util.UUID;
@@ -108,7 +109,7 @@ public void showHealth(PitPlayer targetPit) {
108109
}
109110

110111
public void sendMessage(String message) {
111-
player.sendMessage(ChatColor.translateAlternateColorCodes('&', message));
112+
player.spigot().sendMessage(new MineDown(message).toComponent());
112113
}
113114

114115
public void sendStatus() {

0 commit comments

Comments
 (0)