We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff5e3fa commit 468a2d2Copy full SHA for 468a2d2
1 file changed
src/main/java/net/wurstclient/hacks/RoofEspHack.java
@@ -388,6 +388,17 @@ private void updateAnchorChunk()
388
}
389
390
if(anchorChunk == null)
391
+ {
392
+ anchorChunk = playerChunk;
393
+ scanTimer = 0;
394
+ return;
395
+ }
396
+
397
+ // Sticky mode keeps a stable scan center while you move within the
398
+ // selected area, but should re-anchor once you leave that area.
399
+ int radius = getChunkRange(selectedArea);
400
+ if(Math.abs(playerChunk.x() - anchorChunk.x()) > radius
401
+ || Math.abs(playerChunk.z() - anchorChunk.z()) > radius)
402
{
403
anchorChunk = playerChunk;
404
scanTimer = 0;
0 commit comments