mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Fix /party teleport command
Why did we use getCommand("ptp").getExecutor() again?
Fixes #1995
			
			
This commit is contained in:
		@@ -16,6 +16,7 @@ Version 1.5.01-dev
 | 
			
		||||
 = Fixed bug when players would use /ptp without being in a party
 | 
			
		||||
 = Fixed bug where player didn't have a mcMMOPlayer object in AsyncPlayerChatEvent
 | 
			
		||||
 = Fixed bug where dodge would check the wrong player skill level
 | 
			
		||||
 = Fixed bug which causes /party teleport to stop working
 | 
			
		||||
 ! Vanished players no longer get hit by AoE effects
 | 
			
		||||
 | 
			
		||||
Version 1.5.00
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,6 @@ import org.bukkit.command.TabExecutor;
 | 
			
		||||
import org.bukkit.entity.Player;
 | 
			
		||||
import org.bukkit.util.StringUtil;
 | 
			
		||||
 | 
			
		||||
import com.gmail.nossr50.mcMMO;
 | 
			
		||||
import com.gmail.nossr50.commands.chat.PartyChatCommand;
 | 
			
		||||
import com.gmail.nossr50.commands.party.alliance.PartyAllianceCommand;
 | 
			
		||||
import com.gmail.nossr50.commands.party.teleport.PtpCommand;
 | 
			
		||||
@@ -56,7 +55,7 @@ public class PartyCommand implements TabExecutor {
 | 
			
		||||
    private CommandExecutor partyRenameCommand         = new PartyRenameCommand();
 | 
			
		||||
    private CommandExecutor partyInfoCommand           = new PartyInfoCommand();
 | 
			
		||||
    private CommandExecutor partyHelpCommand           = new PartyHelpCommand();
 | 
			
		||||
    private CommandExecutor partyTeleportCommand       = mcMMO.p.getCommand("ptp").getExecutor();
 | 
			
		||||
    private CommandExecutor partyTeleportCommand       = new PtpCommand();
 | 
			
		||||
    private CommandExecutor partyChatCommand           = new PartyChatCommand();
 | 
			
		||||
    private CommandExecutor partyAllianceCommand       = new PartyAllianceCommand();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user