geforkt von Mirrors/Paper
Load chunks in getCubes()
Dieser Commit ist enthalten in:
Ursprung
fc9503b08d
Commit
9da2e5eff7
@ -140,6 +140,23 @@ diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/m
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess {
|
||||
{
|
||||
if ( !this.isChunkLoaded( chunkx, chunkz, true ) )
|
||||
{
|
||||
- entity.inUnloadedChunk = true; // PaperSpigot - Remove entities in unloaded chunks
|
||||
- continue;
|
||||
+ // PaperSpigot start
|
||||
+ if (entity.loadChunks) {
|
||||
+ ((ChunkProviderServer) entity.world.chunkProvider).getChunkAt(chunkx, chunkz);
|
||||
+ } else {
|
||||
+ entity.inUnloadedChunk = true; // PaperSpigot - Remove entities in unloaded chunks
|
||||
+ continue;
|
||||
+ }
|
||||
+ // PaperSpigot end
|
||||
}
|
||||
int cz = chunkz << 4;
|
||||
Chunk chunk = this.getChunkAt( chunkx, chunkz );
|
||||
@@ -0,0 +0,0 @@ public abstract class World implements IBlockAccess {
|
||||
int i1 = MathHelper.floor(entity.locZ / 16.0D);
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren