Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Forward all PlayerInteractEvents to bus
  • Loading branch information
minecraft-simon committed Jun 18, 2022
commit 303ec23df23c6cd9449b9113bd45898294a1e00f
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ internal object ForgeEventProcessor {
}

@SubscribeEvent
fun onLeftClickBlock(event: PlayerInteractEvent.LeftClickBlock) {
fun onPlayerInteractEvent(event: PlayerInteractEvent) {
LambdaEventBus.post(event)
}

Expand Down