diff --git a/Spigot-Server-Patches/0005-MC-Utils.patch b/Spigot-Server-Patches/0005-MC-Utils.patch index b72afb5b3d..a22d61a838 100644 --- a/Spigot-Server-Patches/0005-MC-Utils.patch +++ b/Spigot-Server-Patches/0005-MC-Utils.patch @@ -1,4 +1,4 @@ -From c44f974b3550e4eadae976624a6184c3fd8d78a3 Mon Sep 17 00:00:00 2001 +From ef3107eb89bc63806994147d6f0ad1c5def5162f Mon Sep 17 00:00:00 2001 From: Aikar Date: Mon, 28 Mar 2016 20:55:47 -0400 Subject: [PATCH] MC Utils @@ -52,21 +52,22 @@ index 1f2fe87b6..2cb462b8e 100644 protected DataPalette c; private int e; diff --git a/src/main/java/net/minecraft/server/EntityTypes.java b/src/main/java/net/minecraft/server/EntityTypes.java -index ba461ad48..66c270493 100644 +index ba461ad48..2359b31f4 100644 --- a/src/main/java/net/minecraft/server/EntityTypes.java +++ b/src/main/java/net/minecraft/server/EntityTypes.java -@@ -237,6 +237,10 @@ public class EntityTypes { - a("zombie_villager", 5651507, 7969893); - EntityTypes.d.add(EntityTypes.a); - } +@@ -13,6 +13,11 @@ import org.apache.logging.log4j.Logger; + + public class EntityTypes { + + // Paper start + public static Map, MinecraftKey> clsToKeyMap = new java.util.HashMap<>(); + public static Map, org.bukkit.entity.EntityType> clsToTypeMap = new java.util.HashMap<>(); + // Paper end - - private static void a(int i, String s, Class oclass, String s1) { - try { -@@ -252,6 +256,8 @@ public class EntityTypes { ++ + public static final MinecraftKey a = new MinecraftKey("lightning_bolt"); + private static final MinecraftKey e = new MinecraftKey("player"); + private static final Logger f = LogManager.getLogger(); +@@ -252,6 +257,8 @@ public class EntityTypes { EntityTypes.b.a(i, minecraftkey, oclass); EntityTypes.d.add(minecraftkey);