aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-09-15 15:39:11 +0200
committerLorenz <lo.scherf@gmail.com>2022-09-15 15:39:11 +0200
commite55b5458459d79c267b105334d3d54d4340f2161 (patch)
treeb279f5a351efba26a0ff89fe0d6533c583ad1218 /src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt
parent78a231616a73628ef1f861c85188b7d28c25180e (diff)
downloadskyhanni-e55b5458459d79c267b105334d3d54d4340f2161.tar.gz
skyhanni-e55b5458459d79c267b105334d3d54d4340f2161.tar.bz2
skyhanni-e55b5458459d79c267b105334d3d54d4340f2161.zip
typos
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt2
1 files changed, 1 insertions, 1 deletions
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")