소스 검색

Missing default tag

nossr50 5 년 전
부모
커밋
2d342f8a3d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      mcmmo-core/src/main/java/com/gmail/nossr50/commands/admin/PlayerDebugCommand.java

+ 2 - 0
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);