mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12:13 +02:00
Fix NPE in AutoFishHack
https://www.reddit.com/r/WurstClient/comments/w4cv8u/wurst_error/
This commit is contained in:
parent
99af175f8b
commit
3ea7930f68
@ -337,6 +337,9 @@ public final class AutoFishHack extends Hack
|
||||
private void drawValidRange(MatrixStack matrixStack,
|
||||
FishingBobberEntity bobber, int regionX, int regionZ)
|
||||
{
|
||||
if(validRangeBox == null)
|
||||
return;
|
||||
|
||||
matrixStack.push();
|
||||
matrixStack.translate(bobber.getX() - regionX, bobber.getY(),
|
||||
bobber.getZ() - regionZ);
|
||||
|
Loading…
Reference in New Issue
Block a user