Fixed invisible flag not getting set back (#535)

* Fixed invisible flag not getting set back

* Fixed indentation
This commit is contained in:
rtm516 2020-05-12 05:44:30 +01:00 committed by GitHub
parent 324bc67c97
commit c84c0f23cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -215,6 +215,8 @@ public class Entity {
} else {
metadata.getFlags().setFlag(EntityFlag.INVISIBLE, true);
}
} else {
metadata.getFlags().setFlag(EntityFlag.INVISIBLE, false);
}
// Shield code