Fix a FlagType bug
This commit is contained in:
parent
182c6a3259
commit
7d80353abb
@ -420,12 +420,12 @@ public class FlagWatcher
|
|||||||
|
|
||||||
for (FlagType data : dataValues)
|
for (FlagType data : dataValues)
|
||||||
{
|
{
|
||||||
if (!_entityValues.containsKey(data) || _entityValues.get(data) == null)
|
if (!_entityValues.containsKey(data.getIndex()) || _entityValues.get(data.getIndex()) == null)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
Object value = _entityValues.get(data);
|
Object value = _entityValues.get(data.getIndex());
|
||||||
|
|
||||||
if (isEntityAnimationsAdded() && DisguiseConfig.isMetadataPacketsEnabled() && data == FlagType.ENTITY_META)
|
if (isEntityAnimationsAdded() && DisguiseConfig.isMetadataPacketsEnabled() && data == FlagType.ENTITY_META)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user