Skip to content

Commit

Permalink
Add support for Minimessage formats (#88)
Browse files Browse the repository at this point in the history
* Add support for Minimessage formats

* Bump version to 1.13.0
  • Loading branch information
LlmDl authored Nov 12, 2024
1 parent b97725d commit a396a9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.gmail.llmdlio</groupId>
<artifactId>TownyFlight</artifactId>
<version>1.12.0</version>
<version>1.13.0</version>
<name>TownyFlight</name>
<description>A flight plugin for Towny servers.</description>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import org.bukkit.command.CommandSender;

import com.palmergames.bukkit.towny.TownyMessaging;

public class MessageBuilder {
String message;
boolean serious;
Expand All @@ -17,6 +19,7 @@ public MessageBuilder serious() {

public void to(CommandSender sender) {
Message message = build();
sender.sendMessage(message.getMessage());
TownyMessaging.sendMsg(sender, message.getMessage());
// sender.sendMessage(message.getMessage());
}
}

0 comments on commit a396a9e

Please sign in to comment.