SPIGOT-6526: World entities are not populated when plugin onEnable is called
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -23,15 +23,18 @@
|
||||
public class WorldServer extends World implements GeneratorAccessSeed {
|
||||
|
||||
public static final BlockPosition END_SPAWN_POINT = new BlockPosition(100, 50, 0);
|
||||
@@ -160,7 +176,7 @@
|
||||
@@ -160,9 +176,9 @@
|
||||
final List<EntityPlayer> players;
|
||||
private final ChunkProviderServer chunkSource;
|
||||
private final MinecraftServer server;
|
||||
- public final IWorldDataServer serverLevelData;
|
||||
+ public final WorldDataServer serverLevelData; // CraftBukkit - type
|
||||
final EntityTickList entityTickList;
|
||||
private final PersistentEntitySectionManager<Entity> entityManager;
|
||||
- private final PersistentEntitySectionManager<Entity> entityManager;
|
||||
+ public final PersistentEntitySectionManager<Entity> entityManager;
|
||||
public boolean noSave;
|
||||
private final SleepStatus sleepStatus;
|
||||
private int emptyTime;
|
||||
@@ -180,31 +196,52 @@
|
||||
private final StructureManager structureFeatureManager;
|
||||
private final boolean tickTime;
|
||||
|
||||
Reference in New Issue
Block a user