Fixed the code generation for placing a forester hut