mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-23 17:08:15 +01:00
Fix Evocation Illager animation on 1.12
This commit is contained in:
parent
7cfa78557e
commit
280fe1aed0
@ -17,6 +17,12 @@ public class MetadataRewriter {
|
||||
// Apply rewrite
|
||||
BedRewriter.toClientItem((Item) metadata.getValue());
|
||||
}
|
||||
// Evocation Illager aggressive property became 13
|
||||
if (type.is(Entity1_12Types.EntityType.EVOCATION_ILLAGER)) {
|
||||
if (metadata.getId() == 12) {
|
||||
metadata.setId(13);
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
metadatas.remove(metadata);
|
||||
if (!Via.getConfig().isSuppressMetadataErrors() || Via.getManager().isDebug()) {
|
||||
|
Loading…
Reference in New Issue
Block a user