Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 00:00:41 +01:00
Remove comment in AgeableEntity as it no longer true
This was due to the wrong entity IDs in MCProtocolLib, which have since been patched.
Dieser Commit ist enthalten in:
Ursprung
42ac37fe40
Commit
49caffc73e
@ -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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren