mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-12 08:47:47 -04:00
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:
parent
74b90ab030
commit
65b8998098
@ -70,7 +70,7 @@ namespace MCGalaxy.Games {
|
|||||||
if (!canSee || p.Game.Referee || target == null) return;
|
if (!canSee || p.Game.Referee || target == null) return;
|
||||||
|
|
||||||
ZSData data = TryGet(target);
|
ZSData data = TryGet(target);
|
||||||
if (data == null) return;
|
if (data == null || target.level != Map) return;
|
||||||
canSee = !(target.Game.Referee || data.Invisible);
|
canSee = !(target.Game.Referee || data.Invisible);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user