Fix dangerously threaded beacons

This commit is contained in:
md_5 2019-03-17 13:08:25 +11:00
parent 217a293d3e
commit d3ed151625

View File

@ -0,0 +1,19 @@
--- a/net/minecraft/server/BlockBeacon.java
+++ b/net/minecraft/server/BlockBeacon.java
@@ -49,7 +49,7 @@
}
public static void a(World world, BlockPosition blockposition) {
- HttpUtilities.a.submit(() -> {
+ // HttpUtilities.a.submit(() -> { // CraftBukkit - dangerously threaded
Chunk chunk = world.getChunkAtWorldCoords(blockposition);
for (int i = blockposition.getY() - 1; i >= 0; --i) {
@@ -74,6 +74,6 @@
}
}
- });
+ // }); // CraftBukkit
}
}