Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 08:10:09 +01:00
Force entity meta data remapper to check all non living entity metadata first. (Fixes ArmorStands)
Dieser Commit ist enthalten in:
Ursprung
ad3317f8d8
Commit
aabd79e6c7
@ -177,8 +177,11 @@ public enum MetaIndex {
|
|||||||
}
|
}
|
||||||
for (MetaIndex mi : MetaIndex.values()) {
|
for (MetaIndex mi : MetaIndex.values()) {
|
||||||
if (mi.getIndex() == index) {
|
if (mi.getIndex() == index) {
|
||||||
if (mi.getApplicableClass().isAssignableFrom(entityClass) ||
|
// To fix issue with armour stands colliding with new values
|
||||||
mi.getApplicableClass().equals(entityClass)) {
|
if(mi.getApplicableClass().equals(LivingEntity.class)) continue;
|
||||||
|
|
||||||
|
if ((mi.getApplicableClass().isAssignableFrom(entityClass) ||
|
||||||
|
mi.getApplicableClass().equals(entityClass))) {
|
||||||
return mi;
|
return mi;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren