mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
Restore other entities on error
This commit is contained in:
parent
7ab299d22d
commit
762bc79f38
1 changed files with 6 additions and 1 deletions
|
@ -231,8 +231,13 @@ public class ChunkManager {
|
|||
|
||||
public static void restoreEntities(World world, int x_offset, int z_offset) {
|
||||
for (EntityWrapper entity : entities) {
|
||||
try {
|
||||
entity.spawn(world, x_offset, z_offset);
|
||||
}
|
||||
catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void restoreBlocks(World world, int x_offset, int z_offset) {
|
||||
|
|
Loading…
Reference in a new issue