Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 23:00:08 +01:00
12 Zeilen
672 B
Diff
12 Zeilen
672 B
Diff
|
--- a/net/minecraft/server/WorldGenStronghold.java
|
||
|
+++ b/net/minecraft/server/WorldGenStronghold.java
|
||
|
@@ -67,7 +67,7 @@
|
||
|
|
||
|
@Nullable
|
||
|
@Override
|
||
|
- public BlockPosition getNearestGeneratedFeature(World world, ChunkGenerator<? extends GeneratorSettingsDefault> chunkgenerator, BlockPosition blockposition, int i, boolean flag) {
|
||
|
+ public synchronized BlockPosition getNearestGeneratedFeature(World world, ChunkGenerator<? extends GeneratorSettingsDefault> chunkgenerator, BlockPosition blockposition, int i, boolean flag) { // CraftBukkit - synchronized
|
||
|
if (!chunkgenerator.getWorldChunkManager().a(this)) {
|
||
|
return null;
|
||
|
} else {
|