From c84c0f23cb583b65970593ee1b870134bda3a049 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Tue, 12 May 2020 05:44:30 +0100 Subject: [PATCH] Fixed invisible flag not getting set back (#535) * Fixed invisible flag not getting set back * Fixed indentation --- .../src/main/java/org/geysermc/connector/entity/Entity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/connector/src/main/java/org/geysermc/connector/entity/Entity.java b/connector/src/main/java/org/geysermc/connector/entity/Entity.java index ae3679fe..2fe830af 100644 --- a/connector/src/main/java/org/geysermc/connector/entity/Entity.java +++ b/connector/src/main/java/org/geysermc/connector/entity/Entity.java @@ -215,6 +215,8 @@ public class Entity { } else { metadata.getFlags().setFlag(EntityFlag.INVISIBLE, true); } + } else { + metadata.getFlags().setFlag(EntityFlag.INVISIBLE, false); } // Shield code