Skip to content

Commit

Permalink
fix(trifles): trowel was broken by upstream update
Browse files Browse the repository at this point in the history
  • Loading branch information
oddlama committed Jul 23, 2023
1 parent 77dcd41 commit 23d9a44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
plugins {
`java-library`
id("io.papermc.paperweight.userdev") version "1.5.5"
id("xyz.jpenilla.run-paper") version "1.0.6" // Adds runServer and runMojangMappedServer tasks for testing
id("xyz.jpenilla.run-paper") version "2.1.0" // Adds runServer and runMojangMappedServer tasks for testing
}

dependencies {
paperDevBundle("1.20-R0.1-SNAPSHOT")
paperDevBundle("1.20.1-R0.1-SNAPSHOT")
}

java {
Expand Down Expand Up @@ -53,7 +53,7 @@ configure(subprojects.filter {
apply(plugin = "io.papermc.paperweight.userdev")

dependencies {
paperDevBundle("1.20-R0.1-SNAPSHOT")
paperDevBundle("1.20.1-R0.1-SNAPSHOT")
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public void on_player_interact_block(final PlayerInteractEvent event) {
}

// Place the item by calling NMS to get correct placing behavior
final var result = nms_item.useOn(action_context, InteractionHand.MAIN_HAND);
final var result = nms_item.useOn(action_context);

// Don't consume item in creative mode
if (player.getGameMode() == GameMode.CREATIVE) {
Expand Down

0 comments on commit 23d9a44

Please sign in to comment.