geforkt von Mirrors/Paper
SPIGOT-5665: Improve loading spawn egg NBT
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
593102e1fa
Commit
d76c6104ce
@ -28,6 +28,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@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 @@
|
@@ -328,7 +334,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren