Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 3 files changed
  • 0 comments
  • 1 contributor
2  CombatTag/com/trc202/CombatTag/CombatTag.java
@@ -260,7 +260,7 @@ public int getNpcNumber() {
260 260
 	@Override
261 261
 	public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args)
262 262
 	{
263  
-		if(command.getName().equalsIgnoreCase("ct") || (command.getName().equalsIgnoreCase("combattag"))){
  263
+		if(command.getName().equalsIgnoreCase("ctag") || (command.getName().equalsIgnoreCase("combattag"))){
264 264
 			if(sender instanceof Player){
265 265
 				Player player = (Player) sender;
266 266
 				if(hasDataContainer(player.getName()) && !getPlayerData(player.getName()).hasPVPtagExpired()){
4  CombatTag/com/trc202/CombatTagListeners/NoPvpEntityListener.java
@@ -88,7 +88,7 @@ private void onPlayerDamageByPlayerNPCMode(Player damager, Player damaged){
88 88
 				damagerData = plugin.createPlayerData(damager.getName());
89 89
 			}
90 90
 			if(plugin.settings.isSendMessageWhenTagged() && !plugin.npcm.isNPC(damaged) && damagerData.hasPVPtagExpired())
91  
-				damager.sendMessage(ChatColor.RED + "[CombatTag] You are now in combat. Type /ct to check your  remaining tag time.");
  91
+				damager.sendMessage(ChatColor.RED + "[CombatTag] You are now in combat. Type /ctag to check your  remaining tag time.");
92 92
 			damagerData.setPvPTimeout(plugin.getTagDuration());
93 93
 		}
94 94
 		if(!damaged.hasPermission("combattag.ignore")){	
@@ -99,7 +99,7 @@ private void onPlayerDamageByPlayerNPCMode(Player damager, Player damaged){
99 99
 				damagedData = plugin.createPlayerData(damaged.getName());
100 100
 			}
101 101
 			if(plugin.settings.isSendMessageWhenTagged() && !plugin.npcm.isNPC(damaged) && damagedData.hasPVPtagExpired())
102  
-				damaged.sendMessage(ChatColor.RED + "[CombatTag] You are now in combat. Type /ct to check your  remaining tag time.");
  102
+				damaged.sendMessage(ChatColor.RED + "[CombatTag] You are now in combat. Type /ctag to check your  remaining tag time.");
103 103
 			damagedData.setPvPTimeout(plugin.getTagDuration());
104 104
 		}
105 105
 		//if(plugin.isDebugEnabled()){plugin.log.info("[CombatTag] Player tagged another player, setting pvp timeout");}
4  plugin.yml
@@ -5,5 +5,5 @@ main: com.trc202.CombatTag.CombatTag
5 5
 commands:
6 6
   CombatTag:
7 7
     description: Shows the current remaining time in a tag
8  
-    aliases: ct
9  
-    usage: /ct
  8
+    aliases: ctag
  9
+    usage: /ctag

No commit comments for this range

Something went wrong with that request. Please try again.