mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-12 10:45:50 -07:00
Update to Minecraft 1.16.2
This commit is contained in:
@@ -21,11 +21,11 @@
|
||||
@@ -430,11 +430,13 @@
|
||||
}
|
||||
|
||||
private static Optional<Entity> a(GeneratorAccess generatoraccess, NBTTagCompound nbttagcompound) {
|
||||
private static Optional<Entity> a(WorldAccess worldaccess, NBTTagCompound nbttagcompound) {
|
||||
- try {
|
||||
+ // CraftBukkit start
|
||||
+ // try {
|
||||
return EntityTypes.a(nbttagcompound, generatoraccess.getMinecraftWorld());
|
||||
return EntityTypes.a(nbttagcompound, (World) worldaccess.getMinecraftWorld());
|
||||
- } catch (Exception exception) {
|
||||
- return Optional.empty();
|
||||
- }
|
||||
|
Reference in New Issue
Block a user