public void updateDryingTime() { currentTime = 0; ItemStack stack = getStackInSlot(0); if(!stack.isEmpty()) { maxTime = TinkerRegistry.getDryingTime(stack); } else { maxTime = -1; } //worldObj.scheduleUpdate(pos, blockType, 0); }
public void updateDryingTime() { currentTime = 0; ItemStack stack = getStackInSlot(0); if(!stack.isEmpty()) { maxTime = TinkerRegistry.getDryingTime(stack); } else { maxTime = -1; } //worldObj.scheduleUpdate(pos, blockType, 0); }