forked from GeyserMC/Geyser
Remove comment in AgeableEntity as it no longer true
This was due to the wrong entity IDs in MCProtocolLib, which have since been patched.
This commit is contained in:
parent
42ac37fe40
commit
49caffc73e
1 changed files with 1 additions and 7 deletions
|
@ -41,13 +41,7 @@ public class AgeableEntity extends CreatureEntity {
|
|||
@Override
|
||||
public void updateBedrockMetadata(EntityMetadata entityMetadata, GeyserSession session) {
|
||||
if (entityMetadata.getId() == 15) {
|
||||
// TODO: Figure out why this value sometimes returns an integer
|
||||
// At the time of writing this, the value here sometimes returns as an int
|
||||
// rather than a boolean for donkeys. The wiki.vg documentation is lacking at the
|
||||
// time of writing this, but once this value is known, the bug will be fixed accordingly.
|
||||
if (entityMetadata.getType() == MetadataType.BOOLEAN) {
|
||||
metadata.getFlags().setFlag(EntityFlag.BABY, (boolean) entityMetadata.getValue());
|
||||
}
|
||||
metadata.getFlags().setFlag(EntityFlag.BABY, (boolean) entityMetadata.getValue());
|
||||
}
|
||||
|
||||
super.updateBedrockMetadata(entityMetadata, session);
|
||||
|
|
Loading…
Reference in a new issue