mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Missing default tag
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
				
			|||||||
package com.gmail.nossr50.commands.admin;
 | 
					package com.gmail.nossr50.commands.admin;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import co.aikar.commands.BaseCommand;
 | 
					import co.aikar.commands.BaseCommand;
 | 
				
			||||||
 | 
					import co.aikar.commands.annotation.Default;
 | 
				
			||||||
import co.aikar.commands.annotation.Dependency;
 | 
					import co.aikar.commands.annotation.Dependency;
 | 
				
			||||||
import co.aikar.commands.annotation.Description;
 | 
					import co.aikar.commands.annotation.Description;
 | 
				
			||||||
import com.gmail.nossr50.datatypes.player.McMMOPlayer;
 | 
					import com.gmail.nossr50.datatypes.player.McMMOPlayer;
 | 
				
			||||||
@@ -15,6 +16,7 @@ public class PlayerDebugCommand extends BaseCommand {
 | 
				
			|||||||
    @Dependency
 | 
					    @Dependency
 | 
				
			||||||
    private mcMMO pluginRef;
 | 
					    private mcMMO pluginRef;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    @Default
 | 
				
			||||||
    public void onCommand(CommandSender sender) {
 | 
					    public void onCommand(CommandSender sender) {
 | 
				
			||||||
        if(sender instanceof Player) {
 | 
					        if(sender instanceof Player) {
 | 
				
			||||||
            McMMOPlayer mcMMOPlayer = pluginRef.getUserManager().getPlayer((Player) sender);
 | 
					            McMMOPlayer mcMMOPlayer = pluginRef.getUserManager().getPlayer((Player) sender);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user