mirror of
https://github.com/moparisthebest/MoparClassic
synced 2024-12-22 15:38:52 -05:00
Make sure the player is logged in...
This commit is contained in:
parent
bbacb63801
commit
ac3fce7c0a
@ -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;
|
||||
}
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user