Make sure the player is logged in...

This commit is contained in:
CodeForFame 2012-05-08 13:30:23 -05:00
parent bbacb63801
commit ac3fce7c0a

View File

@ -331,7 +331,7 @@ public class Npc extends Mob {
ActiveTile t = tiles[x][y];
if (t != null) {
for (Player p : t.getPlayers()) {
if (p.inCombat()) {
if (!p.isLoggedIn() || p.inCombat()) {
continue;
}
/*