Empty announcements should be the empty string, not a space.
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user