Don't sleep between chunk unloading
This commit is contained in:
parent
b53d579e35
commit
8d4b99c574
@ -0,0 +1,20 @@
|
|||||||
|
--- ../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())
|
Loading…
Reference in New Issue
Block a user