From 2f341367fb55bb0b5d84c1c14e0996a852165efc Mon Sep 17 00:00:00 2001 From: acrylic-style Date: Sun, 24 Dec 2023 10:37:18 +0900 Subject: [PATCH] update: unko is no more --- build.gradle.kts | 2 +- .../mori01231/lifecore/listener/FilterNgWordsListener.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3dff052..2d08e16 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,7 +9,7 @@ plugins { } group = "net.azisaba" -version = "6.8.0" +version = "6.8.1" java { toolchain.languageVersion.set(JavaLanguageVersion.of(8)) diff --git a/src/main/java/com/github/mori01231/lifecore/listener/FilterNgWordsListener.java b/src/main/java/com/github/mori01231/lifecore/listener/FilterNgWordsListener.java index a22acc9..053bf19 100644 --- a/src/main/java/com/github/mori01231/lifecore/listener/FilterNgWordsListener.java +++ b/src/main/java/com/github/mori01231/lifecore/listener/FilterNgWordsListener.java @@ -35,7 +35,6 @@ private void filter(Set recipients, String format, boolean global) { Set set = plugin.ngWordsCache.get(player.getUniqueId()); String filtered = NGWordsCache.filter(set, format); if (global) { - filtered = filtered.replaceAll("うんこ", "***"); } if (!format.equals(filtered)) { toRemove.add(player);