no more references to player() from pathing thread

This commit is contained in:
Leijurv
2018-11-09 17:21:02 -08:00
parent a2a60e9847
commit dd08b2c825
9 changed files with 87 additions and 56 deletions

View File

@@ -383,7 +383,7 @@ public interface MovementHelper extends ActionCosts, Helper {
* @param b the blockstate to mine
*/
static void switchToBestToolFor(IBlockState b) {
switchToBestToolFor(b, new ToolSet());
switchToBestToolFor(b, new ToolSet(Helper.HELPER.player()));
}
/**