aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-23 14:37:48 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-23 14:37:48 +0100
commit9b8b9c442e51c471f85361f79341ce998f8da2eb (patch)
tree1403bc700e84fc86f3fa22318485b58e8dc71a38 /src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt
parente7c8613f2bfbf5c93479e63c5d6fca78b525cfc4 (diff)
downloadskyhanni-9b8b9c442e51c471f85361f79341ce998f8da2eb.tar.gz
skyhanni-9b8b9c442e51c471f85361f79341ce998f8da2eb.tar.bz2
skyhanni-9b8b9c442e51c471f85361f79341ce998f8da2eb.zip
Created CropType
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt
index b0bf8aa4e..742dac58d 100644
--- a/src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt
+++ b/src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt
@@ -1,7 +1,6 @@
package at.hannibal2.skyhanni.events
+import at.hannibal2.skyhanni.features.garden.CropType
import net.minecraft.item.ItemStack
-class GardenToolChangeEvent(val crop: String?, val heldItem: ItemStack?) : LorenzEvent() {
- val isRealCrop by lazy {crop != "Daedalus Axe"}
-} \ No newline at end of file
+class GardenToolChangeEvent(val crop: CropType?, val toolItem: ItemStack?) : LorenzEvent() \ No newline at end of file