Remove viewportOffset calculation from demonic gorillas
This commit is contained in:
@@ -94,9 +94,7 @@ public class DemonicGorillaOverlay extends Overlay
|
|||||||
gorilla.getNpc().getLogicalHeight() + 16);
|
gorilla.getNpc().getLogicalHeight() + 16);
|
||||||
if (point != null)
|
if (point != null)
|
||||||
{
|
{
|
||||||
point = new Point(
|
point = new Point(point.getX(), point.getY());
|
||||||
client.getViewportXOffset() + point.getX(),
|
|
||||||
client.getViewportYOffset() + point.getY());
|
|
||||||
|
|
||||||
List<DemonicGorilla.AttackStyle> attackStyles = gorilla.getNextPosibleAttackStyles();
|
List<DemonicGorilla.AttackStyle> attackStyles = gorilla.getNextPosibleAttackStyles();
|
||||||
List<BufferedImage> icons = new ArrayList<>();
|
List<BufferedImage> icons = new ArrayList<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user