From 2d342f8a3d58567faf0bb92beb042a5e7f371072 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 11 Feb 2020 15:44:52 -0800 Subject: [PATCH] Missing default tag --- .../com/gmail/nossr50/commands/admin/PlayerDebugCommand.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mcmmo-core/src/main/java/com/gmail/nossr50/commands/admin/PlayerDebugCommand.java b/mcmmo-core/src/main/java/com/gmail/nossr50/commands/admin/PlayerDebugCommand.java index a0f885c37..6250d2a2d 100644 --- a/mcmmo-core/src/main/java/com/gmail/nossr50/commands/admin/PlayerDebugCommand.java +++ b/mcmmo-core/src/main/java/com/gmail/nossr50/commands/admin/PlayerDebugCommand.java @@ -1,6 +1,7 @@ package com.gmail.nossr50.commands.admin; import co.aikar.commands.BaseCommand; +import co.aikar.commands.annotation.Default; import co.aikar.commands.annotation.Dependency; import co.aikar.commands.annotation.Description; import com.gmail.nossr50.datatypes.player.McMMOPlayer; @@ -15,6 +16,7 @@ public class PlayerDebugCommand extends BaseCommand { @Dependency private mcMMO pluginRef; + @Default public void onCommand(CommandSender sender) { if(sender instanceof Player) { McMMOPlayer mcMMOPlayer = pluginRef.getUserManager().getPlayer((Player) sender);