diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-23 14:37:48 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-23 14:37:48 +0100 |
commit | 9b8b9c442e51c471f85361f79341ce998f8da2eb (patch) | |
tree | 1403bc700e84fc86f3fa22318485b58e8dc71a38 /src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt | |
parent | e7c8613f2bfbf5c93479e63c5d6fca78b525cfc4 (diff) | |
download | skyhanni-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.kt | 5 |
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 |