From a57132aa7d9e719395ba23bc7b4d38bfc563408e Mon Sep 17 00:00:00 2001 From: Brettflan Date: Tue, 7 Aug 2012 21:58:41 -0500 Subject: [PATCH] Update version to 1.7.6_pre, fix for invalid comparison --- plugin.yml | 2 +- src/com/massivecraft/factions/cmd/CmdHome.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.yml b/plugin.yml index 9cb2e8d9..0e2fd5e1 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,5 +1,5 @@ name: Factions -version: 1.7.5_dev +version: 1.7.6_pre main: com.massivecraft.factions.P authors: [Olof Larsson, Brett Flannigan] softdepend: [PermissionsEx, Permissions, Essentials, EssentialsChat, HeroChat, iChat, LocalAreaChat, LWC, nChat, ChatManager, CAPI, AuthMe, Vault, Spout, WorldEdit, WorldGuard, AuthDB, CaptureThePoints, CombatTag] diff --git a/src/com/massivecraft/factions/cmd/CmdHome.java b/src/com/massivecraft/factions/cmd/CmdHome.java index 8ffe6447..6a495f13 100644 --- a/src/com/massivecraft/factions/cmd/CmdHome.java +++ b/src/com/massivecraft/factions/cmd/CmdHome.java @@ -103,7 +103,7 @@ public class CmdHome extends FCommand for (Player p : me.getServer().getOnlinePlayers()) { - if (p == null || !p.isOnline() || p.isDead() || p == fme || p.getWorld() != w) + if (p == null || !p.isOnline() || p.isDead() || p == me || p.getWorld() != w) continue; FPlayer fp = FPlayers.i.get(p);