diff options
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/mod/features/impl/party/playerpreview/FeatureViewPlayerStatsOnJoin.java | 24 |
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); |