1
0
forked from xjboss/KCauldronX
KCauldronX/patches/net/minecraft/world/storage/ThreadedFileIOBase.java.patch
2016-01-05 14:56:58 +07:00

21 lines
723 B
Diff

--- ../src-base/minecraft/net/minecraft/world/storage/ThreadedFileIOBase.java
+++ ../src-work/minecraft/net/minecraft/world/storage/ThreadedFileIOBase.java
@@ -38,7 +38,7 @@
this.threadedIOQueue.remove(i--);
++this.savedIOCounter;
}
-
+ /* // Spigot start - don't sleep in between chunks so we unload faster.
try
{
Thread.sleep(this.isThreadWaiting ? 0L : 10L);
@@ -46,7 +46,7 @@
catch (InterruptedException interruptedexception1)
{
interruptedexception1.printStackTrace();
- }
+ } */ // Spigot end
}
if (this.threadedIOQueue.isEmpty())