CavePVP-Stuff/cSpigot-master/spigot-server-Patches/0113-Fix-Occasional-Client-Side-Unloading-of-Chunk-0-0.patch
2023-05-01 19:59:40 +01:00

23 lines
1.0 KiB
Diff

From 3c31ea73ac7d0700472a7057ef57c157c61b7133 Mon Sep 17 00:00:00 2001
From: Poweruser_rs <poweruser.rs@hotmail.com>
Date: Thu, 10 Dec 2015 06:59:09 +0100
Subject: [PATCH] Fix Occasional Client Side Unloading of Chunk 0 0
diff --git a/src/main/java/net/minecraft/server/ChunkProviderServer.java b/src/main/java/net/minecraft/server/ChunkProviderServer.java
index 88962d20b..1e297ab7e 100644
--- a/src/main/java/net/minecraft/server/ChunkProviderServer.java
+++ b/src/main/java/net/minecraft/server/ChunkProviderServer.java
@@ -37,7 +37,7 @@ public class ChunkProviderServer implements IChunkProvider {
// CraftBukkit end
public ChunkProviderServer(WorldServer worldserver, IChunkLoader ichunkloader, IChunkProvider ichunkprovider) {
- this.emptyChunk = new EmptyChunk(worldserver, 0, 0);
+ this.emptyChunk = new EmptyChunk(worldserver, Integer.MIN_VALUE, Integer.MIN_VALUE); // Poweruser
this.world = worldserver;
this.f = ichunkloader;
this.chunkProvider = ichunkprovider;
--
2.13.3