diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-13 00:13:16 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-13 00:13:16 +0100 |
commit | 8ae5c9aff4081cb2441aee25e2ee275cd5101d89 (patch) | |
tree | 890afaf2a6fa8ab1398721d952404fa92998a095 /src/main/java/at/hannibal2/skyhanni/events | |
parent | f29f71cd02da50d510a8be57f5388e1a4522dbe0 (diff) | |
download | skyhanni-8ae5c9aff4081cb2441aee25e2ee275cd5101d89.tar.gz skyhanni-8ae5c9aff4081cb2441aee25e2ee275cd5101d89.tar.bz2 skyhanni-8ae5c9aff4081cb2441aee25e2ee275cd5101d89.zip |
Fixed bug with garden custom keybinds and random block break interruptions
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt index 3d88710fe..b0bf8aa4e 100644 --- a/src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt +++ b/src/main/java/at/hannibal2/skyhanni/events/GardenToolChangeEvent.kt @@ -2,4 +2,6 @@ package at.hannibal2.skyhanni.events import net.minecraft.item.ItemStack -class GardenToolChangeEvent(val crop: String?, val heldItem: ItemStack?) : LorenzEvent()
\ No newline at end of file +class GardenToolChangeEvent(val crop: String?, val heldItem: ItemStack?) : LorenzEvent() { + val isRealCrop by lazy {crop != "Daedalus Axe"} +}
\ No newline at end of file |