geforkt von Mirrors/Paper
b62dfa0bf9
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 39ce5d3a SPIGOT-4399: ItemMeta.equals broken with AttributeModifiers CraftBukkit Changes:1cf8b5dc
SPIGOT-4400: Populators running on existing chunks116cb9a1
SPIGOT-4399: Add attribute modifier equality test5ee1c18a
SPIGOT-4398: Set ASM7_EXPERIMENTAL flag
39 Zeilen
1.2 KiB
Diff
39 Zeilen
1.2 KiB
Diff
From 6ee94db8532442e2ab30e3b7cb7739c7cdb7af23 Mon Sep 17 00:00:00 2001
|
|
From: Aikar <aikar@aikar.co>
|
|
Date: Sun, 5 Feb 2017 19:17:28 -0500
|
|
Subject: [PATCH] Shame on you Mojang
|
|
|
|
Someone wrote some horrible code that throws a world accessing task
|
|
onto the HTTP DOWNLOADER Thread Pool, for an activity that is not even
|
|
heavy enough to warrant async operation.
|
|
|
|
This then triggers async chunk loads!
|
|
|
|
What in the hell were you thinking?
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/BlockBeacon.java b/src/main/java/net/minecraft/server/BlockBeacon.java
|
|
index 7148ea3692..6d4e82b404 100644
|
|
--- a/src/main/java/net/minecraft/server/BlockBeacon.java
|
|
+++ b/src/main/java/net/minecraft/server/BlockBeacon.java
|
|
@@ -46,7 +46,7 @@ public class BlockBeacon extends BlockTileEntity {
|
|
}
|
|
|
|
public static void a(World world, BlockPosition blockposition) {
|
|
- HttpUtilities.a.submit(() -> {
|
|
+ //HttpUtilities.a.submit(() -> { // Paper
|
|
Chunk chunk = world.getChunkAtWorldCoords(blockposition);
|
|
|
|
for(int i = blockposition.getY() - 1; i >= 0; --i) {
|
|
@@ -67,7 +67,6 @@ public class BlockBeacon extends BlockTileEntity {
|
|
});
|
|
}
|
|
}
|
|
-
|
|
- });
|
|
+ // }); // Paper
|
|
}
|
|
}
|
|
--
|
|
2.19.0
|
|
|