Use player:set_hotbar_image() instead of hardcoded hotbar.png

This gives games the ability to e.g have a 5 item hotbar in survival and a 8 item hotbar in creative mode with proper images.