diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-10 04:33:56 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-10 04:33:56 +0100 |
commit | c1ccf0ef9b7e3672bc295f9aa124d4415ed8588e (patch) | |
tree | af63a05e7004974b2ebe843eec547748baac7ac2 /src/main/java/at/hannibal2/skyhanni/features | |
parent | 873378ed823de01b4be4900c0f4893acb1e97f03 (diff) | |
download | skyhanni-c1ccf0ef9b7e3672bc295f9aa124d4415ed8588e.tar.gz skyhanni-c1ccf0ef9b7e3672bc295f9aa124d4415ed8588e.tar.bz2 skyhanni-c1ccf0ef9b7e3672bc295f9aa124d4415ed8588e.zip |
Fixed toBlocPos -> toBlockPos
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
3 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt index e87257e98..d97f1b327 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt @@ -61,7 +61,7 @@ class DungeonHighlightClickedBlocks { } if (type == ClickedBlockType.WITHER_ESSENCE) { - val text = BlockUtils.getTextureFromSkull(position.toBlocPos()) + val text = BlockUtils.getTextureFromSkull(position.toBlockPos()) if (text != "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQ" + "ubmV0L3RleHR1cmUvYzRkYjRhZGZhOWJmNDhmZjVkNDE3M" + "DdhZTM0ZWE3OGJkMjM3MTY1OWZjZDhjZDg5MzQ3NDlhZjRjY2U5YiJ9fX0=" @@ -97,4 +97,4 @@ class DungeonHighlightClickedBlocks { CHEST("Chest"), WITHER_ESSENCE("Wither Essence"), } -}
\ No newline at end of file +} diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt index 1b23bb1de..a28358143 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/GriffinBurrowParticleFinder.kt @@ -35,7 +35,7 @@ class GriffinBurrowParticleFinder { val particleType = ParticleType.getParticleType(packet) if (particleType != null) { - val location = packet.toLorenzVec().toBlocPos().down().toLorenzVec() + val location = packet.toLorenzVec().toBlockPos().down().toLorenzVec() if (recentlyDugParticleBurrows.contains(location)) return val burrow = burrows.getOrPut(location) { Burrow(location) } diff --git a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionXp.kt b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionXp.kt index 6f3ce2ce7..92f7d8e3e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionXp.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionXp.kt @@ -140,7 +140,7 @@ class MinionXp { ) return positionsToCheck.any { position -> - val pos = minionPosition.add(position).toBlocPos() + val pos = minionPosition.add(position).toBlockPos() val block = Minecraft.getMinecraft().theWorld.getBlockState(pos).block block is BlockChest } |