fix crash with Abnormals Core

change random display tick mixin injection type from @Redirect to @Inject
This commit is contained in:
octarine-noise
2021-05-14 18:55:10 +02:00
parent e3eb222d93
commit 6219e9353d
3 changed files with 8 additions and 8 deletions

View File

@@ -35,7 +35,8 @@ fun onClientBlockChanged(worldClient: ClientWorld, pos: BlockPos, oldState: Bloc
ChunkOverlayManager.onBlockChange(worldClient, pos)
}
fun onRandomDisplayTick(block: Block, state: BlockState, world: ClientWorld, pos: BlockPos, random: Random) {
fun onRandomDisplayTick(world: ClientWorld, pos: BlockPos, random: Random) {
val state = world.getBlockState(pos)
if (Config.enabled &&
Config.risingSoul.enabled &&
state.block == Blocks.SOUL_SAND &&