Fix if you join ZS, enter /ref mode, then go to another map, other players can't see your in-game entity (Thanks Scav)

This commit is contained in:
UnknownShadow200 2021-01-31 12:00:02 +11:00
parent 74b90ab030
commit 65b8998098

View File

@ -70,7 +70,7 @@ namespace MCGalaxy.Games {
if (!canSee || p.Game.Referee || target == null) return;
ZSData data = TryGet(target);
if (data == null) return;
if (data == null || target.level != Map) return;
canSee = !(target.Game.Referee || data.Invisible);
}