Skip to content

Commit

Permalink
New splitter for the killer and the killed player
Browse files Browse the repository at this point in the history
  • Loading branch information
einrobin committed Apr 24, 2020
1 parent edac732 commit 8aebebd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.github.derrop.labymod.addons.fancypvp.listener.LogRenderListener;
import com.github.derrop.labymod.addons.fancypvp.log.LogEntry;
import com.github.derrop.labymod.addons.fancypvp.parse.ChatParser;
import com.github.derrop.labymod.addons.fancypvp.parse.SimpleChatParser;
import com.github.derrop.labymod.addons.fancypvp.parse.SimpleChatParserWithIcon;
import com.github.derrop.labymod.addons.fancypvp.parse.chat.ChatPattern;
import com.google.gson.Gson;
Expand Down Expand Up @@ -33,7 +32,7 @@ public class PvPAddon extends LabyModAddon {
private ChatPattern[] patterns = new ChatPattern[0];

private ChatParser[] chatParsers = new ChatParser[]{
new SimpleChatParserWithIcon("kill", matcher -> this.getPrefix(matcher.group(1)) + matcher.group(1) + " §7> " + this.getPrefix(matcher.group(2)) + matcher.group(2), Material.IRON_SWORD),
new SimpleChatParserWithIcon("kill", matcher -> this.getPrefix(matcher.group(1)) + matcher.group(1) + " §7by " + this.getPrefix(matcher.group(2)) + matcher.group(2), Material.IRON_SWORD),
new SimpleChatParserWithIcon("death", matcher -> this.getPrefix(matcher.group(1)) + matcher.group(1), Material.RED_ROSE)
};

Expand Down

0 comments on commit 8aebebd

Please sign in to comment.