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:
parent
6ea536a664
commit
6da43874e9
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user