From cbff3e61383a733386eef94df5db2b6a07fc9cf6 Mon Sep 17 00:00:00 2001 From: Zrips Date: Mon, 25 Sep 2023 12:41:39 +0300 Subject: [PATCH] Removal of deprecated feedback message on /jobs join command --- src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java | 1 - src/main/java/com/gamingmesh/jobs/commands/list/browse.java | 1 + src/main/java/com/gamingmesh/jobs/commands/list/join.java | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java b/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java index ff211d8c..8e52c80b 100644 --- a/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java +++ b/src/main/java/com/gamingmesh/jobs/Gui/GuiManager.java @@ -28,7 +28,6 @@ import net.Zrips.CMILib.GUI.CMIGuiButton; import net.Zrips.CMILib.GUI.GUIManager.GUIClickType; import net.Zrips.CMILib.Items.CMIItemStack; import net.Zrips.CMILib.Locale.LC; -import net.Zrips.CMILib.Logs.CMIDebug; import net.Zrips.CMILib.Version.Version; public class GuiManager { diff --git a/src/main/java/com/gamingmesh/jobs/commands/list/browse.java b/src/main/java/com/gamingmesh/jobs/commands/list/browse.java index b68989cb..2e245ce5 100644 --- a/src/main/java/com/gamingmesh/jobs/commands/list/browse.java +++ b/src/main/java/com/gamingmesh/jobs/commands/list/browse.java @@ -13,6 +13,7 @@ import com.gamingmesh.jobs.i18n.Language; import net.Zrips.CMILib.Colors.CMIChatColor; import net.Zrips.CMILib.Container.PageInfo; +import net.Zrips.CMILib.Logs.CMIDebug; import net.Zrips.CMILib.Messages.CMIMessages; import net.Zrips.CMILib.RawMessages.RawMessage; diff --git a/src/main/java/com/gamingmesh/jobs/commands/list/join.java b/src/main/java/com/gamingmesh/jobs/commands/list/join.java index acee655f..113ef57e 100644 --- a/src/main/java/com/gamingmesh/jobs/commands/list/join.java +++ b/src/main/java/com/gamingmesh/jobs/commands/list/join.java @@ -29,7 +29,7 @@ public class join implements Cmd { if (args.length == 0) { plugin.getServer().dispatchCommand(sender, "jobs browse"); - return null; + return true; } Job job = Jobs.getJob(args[0]);