Rebuild patches
This commit is contained in:
parent
ed123795f4
commit
46d8cd6ca7
4 changed files with 15 additions and 15 deletions
|
@ -1,11 +1,11 @@
|
|||
From e15513a2c62039f36abc3db23fed7f193bfffc15 Mon Sep 17 00:00:00 2001
|
||||
From 1d8176a9fe0d15eaf957171d91fc1dd83b8812ca Mon Sep 17 00:00:00 2001
|
||||
From: Zach Brown <zach.brown@destroystokyo.com>
|
||||
Date: Tue, 1 Mar 2016 23:19:01 -0600
|
||||
Subject: [PATCH] Add async chunk load API
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
index c0d7ac5..173f1c5 100644
|
||||
index b06f167..fcf5a0e 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
@@ -121,6 +121,26 @@ public class CraftWorld implements World {
|
||||
|
@ -33,7 +33,7 @@ index c0d7ac5..173f1c5 100644
|
|||
+ // Paper end
|
||||
+
|
||||
public Chunk getChunkAt(int x, int z) {
|
||||
return this.world.getChunkProviderServer().getChunkAt(x, z).bukkitChunk;
|
||||
return this.world.getChunkProviderServer().getOrCreateChunkFast(x, z).bukkitChunk;
|
||||
}
|
||||
--
|
||||
2.7.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue