Skip to content

Commit f87f4e1

Browse files
git fixed wrong entry count in ignorelist
1 parent e77a578 commit f87f4e1

File tree

4 files changed

+1
-11
lines changed

4 files changed

+1
-11
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.zeroBzeroT.chatCo</groupId>
77
<artifactId>ChatCoPlus</artifactId>
8-
<version>1.0.3</version>
8+
<version>1.0.4</version>
99
<packaging>jar</packaging>
1010
<name>${project.artifactId}</name>
1111

src/main/java/org/zeroBzeroT/chatCo/Main.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ public boolean onCommand(final @NotNull CommandSender sender, final @NotNull Com
171171
for (final String ignores : getChatPlayer((Player) sender).getIgnoresFile()) {
172172
sender.sendMessage(Component.text(ignores, NamedTextColor.YELLOW, TextDecoration.ITALIC));
173173
++i;
174-
++i;
175174
}
176175

177176
sender.sendMessage(Component.text("You have " + i + " players ignored.", NamedTextColor.YELLOW));

src/main/java/org/zeroBzeroT/chatCo/PublicChat.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,6 @@ public void onAsyncChat(AsyncChatEvent event) {
111111

112112
// Do not send it to the players again - no event cancelling, so that other plugins can process the chat
113113
event.viewers().clear();
114-
115-
// Write back the old format
116-
//event.setFormat(oldFormat);
117114
}
118115

119116
@EventHandler

src/main/java/org/zeroBzeroT/chatCo/Utils.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package org.zeroBzeroT.chatCo;
22

3-
import net.kyori.adventure.text.Component;
4-
import net.kyori.adventure.text.minimessage.MiniMessage;
53
import org.bukkit.entity.Player;
64

75
import java.io.File;
@@ -28,10 +26,6 @@ public static boolean isVanished(Player player) {
2826
return false;
2927
}
3028

31-
public static Component mm(String miniMessageString) { // mm, short for MiniMessage
32-
return MiniMessage.miniMessage().deserialize(miniMessageString);
33-
}
34-
3529
/**
3630
* Saves a stream to a file
3731
*/

0 commit comments

Comments
 (0)