3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-03 14:50:30 +01:00

Fix Evocation Illager animation on 1.12

Dieser Commit ist enthalten in:
Myles 2017-06-24 16:27:14 +01:00
Ursprung 7cfa78557e
Commit 280fe1aed0

Datei anzeigen

@ -17,6 +17,12 @@ public class MetadataRewriter {
// Apply rewrite // Apply rewrite
BedRewriter.toClientItem((Item) metadata.getValue()); 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) { } catch (Exception e) {
metadatas.remove(metadata); metadatas.remove(metadata);
if (!Via.getConfig().isSuppressMetadataErrors() || Via.getManager().isDebug()) { if (!Via.getConfig().isSuppressMetadataErrors() || Via.getManager().isDebug()) {