   game.flyer = makeFly target
   game.flyer.enabled = false
 
-  reach(game)
-  mine(game)
+  game.reach = reach(game)
+  game.mine = mine(game, {defaultHardness: BLOCK_HARDNESS})
 
   console.log "configuring highlight "
   # highlight blocks when you look at them, hold <Ctrl> for block placement

GAME_MODE_SURVIVAL = 0
GAME_MODE_CREATIVE = 1

defaultSetup = (game, avatar) ->
  console.log "entering setup"


      if game.mode == GAME_MODE_SURVIVAL
        game.mode = GAME_MODE_CREATIVE
        game.flyer.enabled = true
        game.mine.hardness = 0
        console.log("creative mode")
      else
        game.mode = GAME_MODE_SURVIVAL
        if game.flyer.flying
          game.flyer.stopFlying()
        game.flyer.enabled = false
        game.mine.hardness = BLOCK_HARDNESS
        console.log("survival mode")

  # cancel context-menu on right-click
