aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-12 02:53:31 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-12 02:53:31 +0200
commita1be9b628b6006904f14a24abe3ea7d00b2dd1de (patch)
treefd6d9de0a7cce654c2d2b58c6b5de62e270344ce /src/main/java/at/hannibal2/skyhanni/events
parent407221c659f4cee2c81fbd50eaeaca77481cc6c6 (diff)
downloadskyhanni-a1be9b628b6006904f14a24abe3ea7d00b2dd1de.tar.gz
skyhanni-a1be9b628b6006904f14a24abe3ea7d00b2dd1de.tar.bz2
skyhanni-a1be9b628b6006904f14a24abe3ea7d00b2dd1de.zip
finished defence blocks
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/ServerBlockChangeEvent.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/ServerBlockChangeEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/ServerBlockChangeEvent.kt
index 41d8ea946..b8ac2eb28 100644
--- a/src/main/java/at/hannibal2/skyhanni/events/ServerBlockChangeEvent.kt
+++ b/src/main/java/at/hannibal2/skyhanni/events/ServerBlockChangeEvent.kt
@@ -6,8 +6,8 @@ import at.hannibal2.skyhanni.utils.toLorenzVec
import net.minecraft.block.state.IBlockState
import net.minecraft.util.BlockPos
-class ServerBlockChangeEvent(val pos: BlockPos, val blockState: IBlockState) : LorenzEvent() {
- val location by lazy { pos.toLorenzVec() }
+class ServerBlockChangeEvent(private val blockPos: BlockPos, private val blockState: IBlockState) : LorenzEvent() {
+ val location by lazy { blockPos.toLorenzVec() }
val old by lazy { location.getBlockAt().toString().getName() }
val new by lazy { blockState.block.toString().getName() }