diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/gui/DummyWorld.java b/src/hdskins/java/com/voxelmodpack/hdskins/gui/DummyWorld.java index b51ae3e9..8a9a7153 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/gui/DummyWorld.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/gui/DummyWorld.java @@ -1,5 +1,7 @@ package com.voxelmodpack.hdskins.gui; +import net.minecraft.block.state.IBlockState; +import net.minecraft.init.Blocks; import net.minecraft.util.math.BlockPos; import net.minecraft.world.GameType; import net.minecraft.world.World; @@ -27,6 +29,11 @@ public class DummyWorld extends World { return true; } + @Override + public IBlockState getBlockState(BlockPos pos) { + return Blocks.AIR.getDefaultState(); + } + @Override public float getLightBrightness(BlockPos pos) { return 1; diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/gui/EntityPlayerModel.java b/src/hdskins/java/com/voxelmodpack/hdskins/gui/EntityPlayerModel.java index 93f465fd..f663ccff 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/gui/EntityPlayerModel.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/gui/EntityPlayerModel.java @@ -130,6 +130,8 @@ public class EntityPlayerModel extends EntityLivingBase implements IBlankSkinSup posY = 0; } onGround = posY == 0; + + ticksExisted++; } @Override