Methods handling mining level and mining speed require passing a Player.
Allowing explicitly for either null or fake players would make implementing block breaker or miner logic more easily.
Edit: currently it doesn't crash, but because this isn't an explicit behavior it might cause issues in mods wanting to change the default behavior.