diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-09-15 15:39:11 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-09-15 15:39:11 +0200 |
commit | e55b5458459d79c267b105334d3d54d4340f2161 (patch) | |
tree | b279f5a351efba26a0ff89fe0d6533c583ad1218 | |
parent | 78a231616a73628ef1f861c85188b7d28c25180e (diff) | |
download | skyhanni-e55b5458459d79c267b105334d3d54d4340f2161.tar.gz skyhanni-e55b5458459d79c267b105334d3d54d4340f2161.tar.bz2 skyhanni-e55b5458459d79c267b105334d3d54d4340f2161.zip |
typos
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt | 2 |
2 files changed, 2 insertions, 2 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 31c9fd92a..100ad7427 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt @@ -54,7 +54,7 @@ class DungeonHighlightClickedBlocks { } if (type == ClickedBlockType.WITHER_ESSENCE) { - val text = BlockUtils.getSkinFromSkull(position.toBlocPos()) + val text = BlockUtils.getTextureFromSkull(position.toBlocPos()) if (text != "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQ" + "ubmV0L3RleHR1cmUvYzRkYjRhZGZhOWJmNDhmZjVkNDE3M" + "DdhZTM0ZWE3OGJkMjM3MTY1OWZjZDhjZDg5MzQ3NDlhZjRjY2U5YiJ9fX0=" diff --git a/src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt index 368b06daf..776ba7f6c 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt @@ -14,7 +14,7 @@ object BlockUtils { fun LorenzVec.isInLoadedChunk(): Boolean = Minecraft.getMinecraft().theWorld.chunkProvider.provideChunk(toBlocPos()).isLoaded - fun getSkinFromSkull(position: BlockPos?): String? { + fun getTextureFromSkull(position: BlockPos?): String? { val entity = Minecraft.getMinecraft().theWorld.getTileEntity(position) as TileEntitySkull val serializeNBT = entity.serializeNBT() return serializeNBT.getCompoundTag("Owner").getCompoundTag("Properties") |