diff --git a/src/main/java/com/gmail/nossr50/commands/party/ACommand.java b/src/main/java/com/gmail/nossr50/commands/party/ACommand.java index 4552d87fb..d0cba874a 100644 --- a/src/main/java/com/gmail/nossr50/commands/party/ACommand.java +++ b/src/main/java/com/gmail/nossr50/commands/party/ACommand.java @@ -9,7 +9,6 @@ import org.bukkit.entity.Player; import com.gmail.nossr50.Users; import com.gmail.nossr50.mcPermissions; -import com.gmail.nossr50.config.LoadProperties; import com.gmail.nossr50.datatypes.PlayerProfile; import com.gmail.nossr50.locale.mcLocale; @@ -56,7 +55,7 @@ public class ACommand implements CommandExecutor { aMessage = aMessage + " " + args[i]; } - String name = (LoadProperties.aDisplayNames) ? player.getDisplayName() : player.getName(); + String name = player.getName(); String aPrefix = ChatColor.AQUA + "{" + ChatColor.WHITE + name + ChatColor.AQUA + "} "; Bukkit.getLogger().info("[A]<" + name + "> " + aMessage); for (Player herp : Bukkit.getServer().getOnlinePlayers()) { diff --git a/src/main/java/com/gmail/nossr50/commands/party/PCommand.java b/src/main/java/com/gmail/nossr50/commands/party/PCommand.java index 0e69d7002..3e4b38234 100644 --- a/src/main/java/com/gmail/nossr50/commands/party/PCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/party/PCommand.java @@ -9,7 +9,6 @@ import org.bukkit.entity.Player; import com.gmail.nossr50.Users; import com.gmail.nossr50.mcPermissions; -import com.gmail.nossr50.config.LoadProperties; import com.gmail.nossr50.datatypes.PlayerProfile; import com.gmail.nossr50.locale.mcLocale; import com.gmail.nossr50.party.Party; @@ -64,7 +63,7 @@ public class PCommand implements CommandExecutor { pMessage = pMessage + " " + args[i]; } - String name = (LoadProperties.pDisplayNames) ? player.getDisplayName() : player.getName(); + String name = player.getName(); String pPrefix = ChatColor.GREEN + "(" + ChatColor.WHITE + name + ChatColor.GREEN + ") "; Bukkit.getLogger().info("[P](" + PP.getParty() + ")<" + name + "> " + pMessage);