diff --git a/nms-patches/EntityTypes.patch b/nms-patches/EntityTypes.patch index dfcd60afc0..e74c238b46 100644 --- a/nms-patches/EntityTypes.patch +++ b/nms-patches/EntityTypes.patch @@ -28,6 +28,15 @@ } @Nullable +@@ -195,7 +201,7 @@ + t0.setCustomName(ichatbasecomponent); + } + +- a(world, entityhuman, t0, nbttagcompound); ++ try { a(world, entityhuman, t0, nbttagcompound); } catch (Throwable t) { LOGGER.warn("Error loading spawn egg NBT", t); } // CraftBukkit - SPIGOT-5665 + return t0; + } + } @@ -328,7 +334,7 @@ }