mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-11 09:00:23 -07:00
Fixed a minor bug with carts
This commit is contained in:
parent
9a3ea345cc
commit
3ba0c9dbc9
1 changed files with 2 additions and 2 deletions
|
|
@ -42,9 +42,9 @@ public class BrokenCartBypass extends OptionHandler {
|
|||
Location location = new Location(0,0);
|
||||
Location playerloc = new Location(player.getLocation().getX(),player.getLocation().getY());
|
||||
if(options.equals("look-at")) {
|
||||
if (playerloc.getX() == 2880 && playerloc.getY() >= 2951 && playerloc.getY() <= 2953) {
|
||||
if (playerloc.getX() > 2878) {
|
||||
location = new Location(2876, 2952);
|
||||
} else if (playerloc.getX() == 2876 && playerloc.getY() >= 2951 && playerloc.getY() <= 2953) {
|
||||
} else if (playerloc.getX() < 2879) {
|
||||
location = new Location(2880, 2952);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue