quick fix : Redundant type cast

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent b34eec4dea
commit 2d13e6185e
84 files changed
+426 -434

No files matched your search

@@ -93,7 +93,7 @@ public class LumberAxe extends AOEHarvestTool {
if (wood.isWood(world, x, y, z) || wood.getMaterial() == Material.sponge)
if (detectTree(world, x, y, z)) {
TreeChopTask chopper =
new TreeChopTask((AOEHarvestTool) this, stack, new ChunkPosition(x, y, z), player, 128);
new TreeChopTask(this, stack, new ChunkPosition(x, y, z), player, 128);
try {
FMLCommonHandler.instance().bus().register(chopper);
} catch (LinkageError l) {