Skip to content

Commit

Permalink
Fix the suffixes being prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonHorkles committed Aug 23, 2024
1 parent 9920df0 commit 03fa3bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SilverstoneGlobal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>net.silverstonemc</groupId>
<artifactId>SilverstoneGlobal</artifactId>
<version>7.3.2</version>
<version>7.3.3</version>

<properties>
<maven.compiler.source>21</maven.compiler.source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ public void onClick(InventoryClickEvent event) {
private void setChatColor(Player player, char value) {
// Tried using the API but this just works much better lol
if (value == 'r') Bukkit.dispatchCommand(Bukkit.getConsoleSender(),
"lp user " + player.getName() + " meta removeprefix 500");
"lp user " + player.getName() + " meta removesuffix 500");

else Bukkit.dispatchCommand(Bukkit.getConsoleSender(),
"lp user " + player.getName() + " meta setprefix 500 &" + value);
"lp user " + player.getName() + " meta setsuffix 500 &" + value);
}

public void createInv() {
Expand Down

0 comments on commit 03fa3bc

Please sign in to comment.