diff --git a/pages/Developer-Guide-(4a-Right-Clicks).md b/pages/Developer-Guide-(4a-Right-Clicks).md index 8276ef966..5780a3a16 100644 --- a/pages/Developer-Guide-(4a-Right-Clicks).md +++ b/pages/Developer-Guide-(4a-Right-Clicks).md @@ -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); } diff --git a/pages/Developer-Guide-(4b-Radioactive-and-WitherProof).md b/pages/Developer-Guide-(4b-Radioactive-and-WitherProof).md index 510f2bdd6..327dcb3b3 100644 --- a/pages/Developer-Guide-(4b-Radioactive-and-WitherProof).md +++ b/pages/Developer-Guide-(4b-Radioactive-and-WitherProof).md @@ -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); } @@ -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); }