Support OpenOSRS 4.19.0

This commit is contained in:
Yuri Moens 2022-01-20 01:25:56 +01:00
parent 6ad5bc0465
commit 08dde87681
Signed by: ymo
GPG Key ID: F6D51D6FE15BE924
3 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
*/ */
object ProjectVersions { object ProjectVersions {
const val openosrsVersion = "4.17.0" const val openosrsVersion = "4.19.0"
const val apiVersion = "^1.0.0" const val apiVersion = "^1.0.0"
} }

Binary file not shown.

View File

@ -307,7 +307,7 @@ public class Wintertodt extends CScript {
if (projectile.getId() == 501) { if (projectile.getId() == 501) {
int x = game.client().getBaseX() + event.getPosition().getSceneX(); int x = game.client().getBaseX() + event.getPosition().getSceneX();
int y = game.client().getBaseY() + event.getPosition().getSceneY(); int y = game.client().getBaseY() + event.getPosition().getSceneY();
int cycles = projectile.getEndCycle() - projectile.getStartMovementCycle(); int cycles = projectile.getEndCycle() - projectile.getStartCycle();
// we don't care about any of the projectiles that don't go to our play area // we don't care about any of the projectiles that don't go to our play area
if (y >= 4001) return; if (y >= 4001) return;