Skip to content

Commit

Permalink
Fix TFC compatibility issue (#833)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dokueki authored Jun 29, 2024
1 parent 6911bbe commit 2e6723d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private void preCreateReferences(
}

@Inject(method = "m_214184_", at = @At("HEAD"), cancellable = true)
private void preGetBaseColumn(int i, int j, LevelHeightAccessor levelHeightAccessor, CallbackInfoReturnable<NoiseColumn> cir) {
private void preGetBaseColumn(int i, int j, LevelHeightAccessor levelHeightAccessor, RandomState randomState, CallbackInfoReturnable<NoiseColumn> cir) {
if (VS2ChunkAllocator.INSTANCE.isChunkInShipyardCompanion(i, j)) {
cir.setReturnValue(new NoiseColumn(0, new BlockState[0]));
}
Expand Down

0 comments on commit 2e6723d

Please sign in to comment.