Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-19 09:20:08 +01:00
fix: ClassCastException on spigot (#2751)
fix: ClassCastException on spigot due to method change
Dieser Commit ist enthalten in:
Ursprung
e9866fb4d7
Commit
7318685613
@ -345,10 +345,8 @@ public final class PaperweightPlatformAdapter extends NMSAdapter {
|
|||||||
.getChunkSource()
|
.getChunkSource()
|
||||||
.getChunkAtIfLoadedImmediately(chunkX, chunkZ);
|
.getChunkAtIfLoadedImmediately(chunkX, chunkZ);
|
||||||
} else {
|
} else {
|
||||||
levelChunk = ((Optional<LevelChunk>) ((Either) chunkHolder
|
levelChunk = chunkHolder.getTickingChunkFuture()
|
||||||
.getTickingChunkFuture() // method is not present with new paper chunk system
|
.getNow(ChunkHolder.UNLOADED_LEVEL_CHUNK).orElse(null);
|
||||||
.getNow(ChunkHolder.UNLOADED_LEVEL_CHUNK)).left())
|
|
||||||
.orElse(null);
|
|
||||||
}
|
}
|
||||||
if (levelChunk == null) {
|
if (levelChunk == null) {
|
||||||
return;
|
return;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren