Empty announcements should be the empty string, not a space.

This commit is contained in:
garbagemule
2014-01-25 15:51:42 +01:00
parent 3223de641f
commit fd7a9c0d0b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: MobArena name: MobArena
author: garbagemule author: garbagemule
main: com.garbagemule.MobArena.MobArena main: com.garbagemule.MobArena.MobArena
version: 0.96.2.5 version: 0.96.2.6
softdepend: [Multiverse-Core,Towny,Heroes,MagicSpells,Vault] softdepend: [Multiverse-Core,Towny,Heroes,MagicSpells,Vault]
commands: commands:
ma: ma:
+1 -1
View File
@@ -20,7 +20,7 @@ public class Messenger
public static boolean tell(CommandSender p, String msg) { public static boolean tell(CommandSender p, String msg) {
// If the input sender is null or the string is empty, return. // If the input sender is null or the string is empty, return.
if (p == null || msg.equals(" ")) { if (p == null || msg.equals("")) {
return false; return false;
} }