Adjusted banding arrow position

This commit is contained in:
L_J 2018-02-14 15:26:03 +00:00 committed by GitHub
parent 868b9d82fe
commit cb63931d35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ public final class ArrowUtil {
if (permanent != null) { if (permanent != null) {
Point target = permanent.getLocationOnScreen(); Point target = permanent.getLocationOnScreen();
target.translate(-parentPoint.x, -parentPoint.y); target.translate(-parentPoint.x, -parentPoint.y);
ArrowBuilder.getBuilder().addArrow(data.gameId, (int) me.getX() + 35, (int) me.getY(), (int) target.getX() + 40, (int) target.getY() + 10, Color.yellow, ArrowBuilder.Type.BANDED); ArrowBuilder.getBuilder().addArrow(data.gameId, (int) me.getX() + 65, (int) me.getY() + 25, (int) target.getX() + 70, (int) target.getY() + 35, Color.yellow, ArrowBuilder.Type.BANDED);
} }
} }
} }