aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEryk Ruta <70776766+kingstefan26@users.noreply.github.com>2022-11-05 05:04:12 +0100
committerGitHub <noreply@github.com>2022-11-05 13:04:12 +0900
commitf4a01fb049ec8f50462ef0d7fb3ce15b670b311f (patch)
treec2a483e31edd5c7257c25bfb1c9d24e7322ecd18
parent4ba2c8dd567d3d83f0cf80b2961f3083dab230c9 (diff)
downloadSkyblock-Dungeons-Guide-f4a01fb049ec8f50462ef0d7fb3ce15b670b311f.tar.gz
Skyblock-Dungeons-Guide-f4a01fb049ec8f50462ef0d7fb3ce15b670b311f.tar.bz2
Skyblock-Dungeons-Guide-f4a01fb049ec8f50462ef0d7fb3ce15b670b311f.zip
remove unnecessary kick command (#73)
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/party/playerpreview/FeatureViewPlayerStatsOnJoin.java24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/party/playerpreview/FeatureViewPlayerStatsOnJoin.java b/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/party/playerpreview/FeatureViewPlayerStatsOnJoin.java
index 1be93cdf..89761fd8 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/party/playerpreview/FeatureViewPlayerStatsOnJoin.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/party/playerpreview/FeatureViewPlayerStatsOnJoin.java
@@ -151,30 +151,6 @@ public class FeatureViewPlayerStatsOnJoin extends SimpleFeature implements GuiPo
IChatComponent comp = new ChatComponentText("§eDungeons Guide §7:: §e" + username + "§f's Profile ")
.appendSibling(new ChatComponentText("§7view").setChatStyle(new ChatStyle().setChatHoverEvent(new HoverEventRenderPlayer(a.orElse(null)))));
-
- IChatComponent kickText = new ChatComponentText(" §cKICK").setChatStyle(
- new ChatStyle()
- .setChatClickEvent(
- new ClickEvent(ClickEvent.Action.RUN_COMMAND, "") {
-
- boolean fuse = false;
- @Override
- public Action getAction() {
- if(!fuse) {
- ChatProcessor.INSTANCE.addToChatQueue("/p kick " + username, null, false);
- fuse = true;
- }
-
- return Action.RUN_COMMAND;
- }
- }
- )
- );
-
-
- comp.appendSibling(kickText);
-
-
ChatTransmitter.addToQueue((ChatComponentText) comp);