mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Restore other entities on error
This commit is contained in:
parent
7ab299d22d
commit
762bc79f38
@ -231,7 +231,12 @@ public class ChunkManager {
|
||||
|
||||
public static void restoreEntities(World world, int x_offset, int z_offset) {
|
||||
for (EntityWrapper entity : entities) {
|
||||
entity.spawn(world, x_offset, z_offset);
|
||||
try {
|
||||
entity.spawn(world, x_offset, z_offset);
|
||||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user