Restore other entities on error

This commit is contained in:
boy0001 2015-02-10 03:24:06 +11:00
parent 7ab299d22d
commit 762bc79f38

View File

@ -231,7 +231,12 @@ public class ChunkManager {
public static void restoreEntities(World world, int x_offset, int z_offset) { public static void restoreEntities(World world, int x_offset, int z_offset) {
for (EntityWrapper entity : entities) { for (EntityWrapper entity : entities) {
entity.spawn(world, x_offset, z_offset); try {
entity.spawn(world, x_offset, z_offset);
}
catch (Exception e) {
e.printStackTrace();
}
} }
} }