From cdb0f267a37055eea01cfd483e8ecb8accca3edb Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Sat, 3 Aug 2024 16:44:15 +0200 Subject: [PATCH] Renames an event method --- .../java/net/knarcraft/blacksmith/event/ActionStartEvent.java | 2 +- .../knarcraft/blacksmith/event/BlacksmithReforgeStartEvent.java | 2 +- .../knarcraft/blacksmith/event/ScrapperSalvageStartEvent.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/knarcraft/blacksmith/event/ActionStartEvent.java b/src/main/java/net/knarcraft/blacksmith/event/ActionStartEvent.java index 024cac7..2e7e05e 100644 --- a/src/main/java/net/knarcraft/blacksmith/event/ActionStartEvent.java +++ b/src/main/java/net/knarcraft/blacksmith/event/ActionStartEvent.java @@ -20,6 +20,6 @@ public interface ActionStartEvent extends BlacksmithPluginEvent { * * @return

The appropriate crafting station

*/ - Material craftingStation(); + Material getCraftingStation(); } diff --git a/src/main/java/net/knarcraft/blacksmith/event/BlacksmithReforgeStartEvent.java b/src/main/java/net/knarcraft/blacksmith/event/BlacksmithReforgeStartEvent.java index 7476f22..7c9061e 100644 --- a/src/main/java/net/knarcraft/blacksmith/event/BlacksmithReforgeStartEvent.java +++ b/src/main/java/net/knarcraft/blacksmith/event/BlacksmithReforgeStartEvent.java @@ -36,7 +36,7 @@ public class BlacksmithReforgeStartEvent extends AbstractBlacksmithPluginEvent i } @Override - public Material craftingStation() { + public Material getCraftingStation() { return craftingStation; } diff --git a/src/main/java/net/knarcraft/blacksmith/event/ScrapperSalvageStartEvent.java b/src/main/java/net/knarcraft/blacksmith/event/ScrapperSalvageStartEvent.java index 7c1213f..0d3c7b9 100644 --- a/src/main/java/net/knarcraft/blacksmith/event/ScrapperSalvageStartEvent.java +++ b/src/main/java/net/knarcraft/blacksmith/event/ScrapperSalvageStartEvent.java @@ -37,7 +37,7 @@ public class ScrapperSalvageStartEvent extends AbstractBlacksmithPluginEvent imp } @Override - public Material craftingStation() { + public Material getCraftingStation() { return this.craftingStation; }