mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-31 04:31:38 +01:00
Upstream merge
This commit is contained in:
parent
dbbf5810b9
commit
1465f017f2
@ -85,6 +85,19 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
}
|
||||
// CraftBukkit end
|
||||
world.timings.syncChunkLoadEntitiesTimer.startTiming(); // Spigot
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
@@ -0,0 +0,0 @@ public class CraftWorld implements World {
|
||||
if (chunk != null) {
|
||||
// moved from Chunk.<init>
|
||||
for (int k = 0; k < chunk.entitySlices.length; ++k) {
|
||||
- chunk.entitySlices[k] = new EntitySlice(net.minecraft.server.Entity.class);
|
||||
+ chunk.entitySlices[k] = new org.bukkit.craftbukkit.util.UnsafeList();
|
||||
}
|
||||
world.chunkProviderServer.chunks.put(LongHash.toLong(cx, cz), chunk);
|
||||
|
||||
diff --git a/src/main/java/org/spigotmc/ActivationRange.java b/src/main/java/org/spigotmc/ActivationRange.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/spigotmc/ActivationRange.java
|
||||
|
Loading…
Reference in New Issue
Block a user