forked from xjboss/KCauldronX
7defe0bb29
* Clear outgoing packet queue after player disconnect * Disable sleep between chunk saving * Put 2x4096 bytes instead 2048x4 bytes for region file aligment * Using map to search player by name instead iterating over all players * Some tweaks for decorations (item frames, maps)
20 lines
626 B
Diff
20 lines
626 B
Diff
--- ../src-base/minecraft/net/minecraft/world/storage/ThreadedFileIOBase.java
|
|
+++ ../src-work/minecraft/net/minecraft/world/storage/ThreadedFileIOBase.java
|
|
@@ -39,14 +39,14 @@
|
|
++this.savedIOCounter;
|
|
}
|
|
|
|
- try
|
|
+ /*try // KCauldron start
|
|
{
|
|
Thread.sleep(this.isThreadWaiting ? 0L : 10L);
|
|
}
|
|
catch (InterruptedException interruptedexception1)
|
|
{
|
|
interruptedexception1.printStackTrace();
|
|
- }
|
|
+ }*/ // KCauldron end
|
|
}
|
|
|
|
if (this.threadedIOQueue.isEmpty())
|