mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 11:24:56 -04:00
fix class cast exception in living entity flags (only when default value is used)
This commit is contained in:
parent
64e1cd2292
commit
a5d26a6448
@ -29,7 +29,7 @@ public enum EntityMetaDataFields {
|
||||
ENTITY_POSE(Poses.STANDING),
|
||||
ENTITY_TICKS_FROZEN(0),
|
||||
|
||||
LIVING_ENTITY_FLAGS(0),
|
||||
LIVING_ENTITY_FLAGS((byte) 0),
|
||||
LIVING_ENTITY_HEALTH(1.0f),
|
||||
LIVING_ENTITY_EFFECT_COLOR(0),
|
||||
LIVING_ENTITY_EFFECT_AMBIENCE(false),
|
||||
@ -37,7 +37,7 @@ public enum EntityMetaDataFields {
|
||||
LIVING_ENTITY_ABSORPTION_HEARTS(0),
|
||||
LIVING_ENTITY_BED_POSITION,
|
||||
|
||||
MOB_FLAGS(0),
|
||||
MOB_FLAGS((byte) 0),
|
||||
|
||||
ZOMBIE_IS_BABY(false),
|
||||
ZOMBIE_SPECIAL_TYPE(0),
|
||||
|
Loading…
x
Reference in New Issue
Block a user