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

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