mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fixed invisible flag not getting set back (#535)
* Fixed invisible flag not getting set back * Fixed indentation
This commit is contained in:
parent
324bc67c97
commit
c84c0f23cb
1 changed files with 2 additions and 0 deletions
|
@ -215,6 +215,8 @@ public class Entity {
|
||||||
} else {
|
} else {
|
||||||
metadata.getFlags().setFlag(EntityFlag.INVISIBLE, true);
|
metadata.getFlags().setFlag(EntityFlag.INVISIBLE, true);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
metadata.getFlags().setFlag(EntityFlag.INVISIBLE, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Shield code
|
// Shield code
|
||||||
|
|
Loading…
Reference in a new issue