Skip to content

Commit

Permalink
build: 23w18a
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed May 3, 2023
1 parent 3455743 commit 825ff99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import net.minecraft.world.ChunkRegion;
import net.minecraft.world.chunk.Chunk;
import net.minecraft.world.chunk.ChunkStatus;
import net.minecraft.world.chunk.ReadOnlyChunk;
import net.minecraft.world.chunk.WrapperProtoChunk;
import org.jetbrains.annotations.Nullable;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
Expand Down Expand Up @@ -71,7 +71,7 @@ private void onGetChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean
final ChunkRegion currentRegion = CurrentWorldGenState.getCurrentRegion();
if (currentRegion != null) {
Chunk chunk = currentRegion.getChunk(chunkX, chunkZ, leastStatus, false);
if (chunk instanceof ReadOnlyChunk readOnlyChunk) chunk = readOnlyChunk.getWrappedChunk();
if (chunk instanceof WrapperProtoChunk readOnlyChunk) chunk = readOnlyChunk.getWrappedChunk();
if (chunk != null) return chunk;
}
final CompletableFuture<Chunk> chunkLoad = c2me$getChunkFutureOffThread(chunkX, chunkZ, leastStatus, create);
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ org.gradle.parallel=true
fabric.loom.multiProjectOptimisation=true
# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=23w17a
yarn_mappings=23w17a+build.4
minecraft_version=23w18a
yarn_mappings=23w18a+build.1
loader_version=0.14.19
# Mod Properties
mod_version=0.2.0+alpha.10
Expand Down

0 comments on commit 825ff99

Please sign in to comment.