fix hide oops

This commit is contained in:
UnknownShadow200 2018-06-01 14:19:02 +10:00
parent 986c781f0c
commit 131ffb36ee

View File

@ -95,7 +95,7 @@ namespace MCGalaxy {
public override bool CanSeeEntity(Entity other) { public override bool CanSeeEntity(Entity other) {
Player target = other as Player; Player target = other as Player;
if (target == null) return true; // not a player if (target == null) return true; // not a player
if (target == other) return true; // always see self if (target == this) return true; // always see self
// hidden via /hide or /ohide // hidden via /hide or /ohide
if (target.hidden) { if (target.hidden) {