forked from 2009Scape/Server
Pest control fixes & pc bot modularization
This commit is contained in:
parent
0ecae80828
commit
236fec4824
10 changed files with 172 additions and 56 deletions
|
|
@ -90,20 +90,15 @@ public final class PCLanderZone extends MapZone {
|
|||
return super.leave(e, logout);
|
||||
}
|
||||
|
||||
private static ZoneBorders boatA = new ZoneBorders(2659, 2637, 2664, 2664); //I should probably find the real names
|
||||
private static ZoneBorders boatB = new ZoneBorders(2637, 2641, 2642, 2648);
|
||||
private static ZoneBorders boatC = new ZoneBorders(2631, 2648, 2636, 2655);
|
||||
|
||||
@Override
|
||||
public void configure() {
|
||||
ZoneBorders boatA = new ZoneBorders(2659, 2637, 2664, 2664);
|
||||
ZoneBorders boatB = new ZoneBorders(2637, 2641, 2642, 2648);
|
||||
ZoneBorders boatC = new ZoneBorders(2631, 2648, 2636, 2655);
|
||||
|
||||
register(boatA);
|
||||
register(boatB);
|
||||
register(boatC);
|
||||
}
|
||||
|
||||
public static boolean landerContainsLoc(Location l)
|
||||
{
|
||||
return boatA.insideBorder(l) || boatB.insideBorder(l) || boatC.insideBorder(l);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue