Skip to content

Commit

Permalink
fix method name (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
scorninpc authored Oct 7, 2023
1 parent acc0479 commit a1b3c56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/Developer-Guide-(4a-Right-Clicks).md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public class FireCake extends SlimefunItem {
BlockUseHandler blockUseHandler = this::onBlockRightClick;
addItemHandler(blockUseHandler);

ItemUseHandler itemUseHandler = this::onItemRightClick;
ItemUseHandler itemUseHandler = this::onItemUseRightClick;
addItemHandler(itemUseHandler);
}

Expand Down
4 changes: 2 additions & 2 deletions pages/Developer-Guide-(4b-Radioactive-and-WitherProof).md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class FireCake extends SlimefunItem {
BlockUseHandler blockUseHandler = this::onBlockRightClick;
addItemHandler(blockUseHandler);

ItemUseHandler itemUseHandler = this::onItemRightClick;
ItemUseHandler itemUseHandler = this::onItemUseRightClick;
addItemHandler(itemUseHandler);
}

Expand Down Expand Up @@ -262,7 +262,7 @@ public class FireCake extends SlimefunItem implements Radioactive, WitherProof {
BlockUseHandler blockUseHandler = this::onBlockRightClick;
addItemHandler(blockUseHandler);

ItemUseHandler itemUseHandler = this::onItemRightClick;
ItemUseHandler itemUseHandler = this::onItemUseRightClick;
addItemHandler(itemUseHandler);
}

Expand Down

0 comments on commit a1b3c56

Please sign in to comment.