remove unknown command message
This commit is contained in:
parent
8155ada338
commit
d58d292a44
2 changed files with 16 additions and 12 deletions
|
@ -4,7 +4,7 @@
|
||||||
<option name="autoReloadType" value="SELECTIVE" />
|
<option name="autoReloadType" value="SELECTIVE" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="50f184fa-7bed-4956-baf5-7586ff26ea08" name="Changes" comment="add bot.profile() mabe" />
|
<list default="true" id="50f184fa-7bed-4956-baf5-7586ff26ea08" name="Changes" comment="add global ticker the performance is the same its still using like 100 - 300 heap usage doesn't really do anyhting.,.,,. real" />
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
|
@ -109,13 +109,6 @@
|
||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1680245437032</updated>
|
<updated>1680245437032</updated>
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00101" summary="forgor to set the thread to null">
|
|
||||||
<created>1682169054135</created>
|
|
||||||
<option name="number" value="00101" />
|
|
||||||
<option name="presentableId" value="LOCAL-00101" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1682169054135</updated>
|
|
||||||
</task>
|
|
||||||
<task id="LOCAL-00102" summary="log exception for funni?">
|
<task id="LOCAL-00102" summary="log exception for funni?">
|
||||||
<created>1682169510400</created>
|
<created>1682169510400</created>
|
||||||
<option name="number" value="00102" />
|
<option name="number" value="00102" />
|
||||||
|
@ -452,7 +445,14 @@
|
||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1682905214836</updated>
|
<updated>1682905214836</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="150" />
|
<task id="LOCAL-00150" summary="add global ticker the performance is the same its still using like 100 - 300 heap usage doesn't really do anyhting.,.,,. real">
|
||||||
|
<created>1682910530242</created>
|
||||||
|
<option name="number" value="00150" />
|
||||||
|
<option name="presentableId" value="LOCAL-00150" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1682910530242</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="151" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="Vcs.Log.Tabs.Properties">
|
<component name="Vcs.Log.Tabs.Properties">
|
||||||
|
@ -467,7 +467,6 @@
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<MESSAGE value="make time output shorter? mabe" />
|
|
||||||
<MESSAGE value="chat queue delay in config" />
|
<MESSAGE value="chat queue delay in config" />
|
||||||
<MESSAGE value="new 1.19.4 update i guess" />
|
<MESSAGE value="new 1.19.4 update i guess" />
|
||||||
<MESSAGE value="bots mabe" />
|
<MESSAGE value="bots mabe" />
|
||||||
|
@ -492,7 +491,8 @@
|
||||||
<MESSAGE value="fix mabe mabe untested" />
|
<MESSAGE value="fix mabe mabe untested" />
|
||||||
<MESSAGE value="patch skiddie exploit" />
|
<MESSAGE value="patch skiddie exploit" />
|
||||||
<MESSAGE value="add bot.profile() mabe" />
|
<MESSAGE value="add bot.profile() mabe" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="add bot.profile() mabe" />
|
<MESSAGE value="add global ticker the performance is the same its still using like 100 - 300 heap usage doesn't really do anyhting.,.,,. real" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="add global ticker the performance is the same its still using like 100 - 300 heap usage doesn't really do anyhting.,.,,. real" />
|
||||||
</component>
|
</component>
|
||||||
<component name="XDebuggerManager">
|
<component name="XDebuggerManager">
|
||||||
<breakpoint-manager>
|
<breakpoint-manager>
|
||||||
|
|
|
@ -79,7 +79,11 @@ public class CommandHandlerPlugin {
|
||||||
|
|
||||||
final Command command = ElementUtilities.findCommand(commands, commandName);
|
final Command command = ElementUtilities.findCommand(commands, commandName);
|
||||||
|
|
||||||
if (command == null) return Component.text("Unknown command: " + commandName).color(NamedTextColor.RED);
|
// I think this is kinda annoying when you correct spelling mistakes or something like
|
||||||
|
// *whatever* (action or whatever you call it.,,.) so I removed the unknown command
|
||||||
|
// if (command == null) return Component.text("Unknown command: " + commandName).color(NamedTextColor.RED);
|
||||||
|
|
||||||
|
if (command == null) return null;
|
||||||
|
|
||||||
final int trustLevel = command.trustLevel();
|
final int trustLevel = command.trustLevel();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue