0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-20 01:12:13 +02:00

Fix NukerLegit and AutoMine mining slowly in Creative Mode

This commit is contained in:
Alexander01998 2024-09-06 08:27:34 +02:00
parent 6ea536a664
commit 6da43874e9
2 changed files with 6 additions and 0 deletions

View File

@ -98,6 +98,9 @@ public final class AutoMineHack extends Hack
// This case doesn't cancel block breaking in vanilla Minecraft.
return;
if(!im.isBreakingBlock())
im.attackBlock(pos, side);
if(im.updateBlockBreakingProgress(pos, side))
{
MC.particleManager.addBlockBreakingParticles(pos, side);

View File

@ -174,6 +174,9 @@ public final class NukerLegitHack extends Hack
// This case doesn't cancel block breaking in vanilla Minecraft.
return true;
if(!im.isBreakingBlock())
im.attackBlock(pos, side);
if(im.updateBlockBreakingProgress(pos, side))
{
MC.particleManager.addBlockBreakingParticles(pos, side);