Re-add automatic start
This commit is contained in:
parent
c0ee06e38a
commit
344ee6cb24
@ -93,14 +93,14 @@ public class Birdhouse extends CScript implements KeyListener {
|
|||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
@Subscribe
|
@Subscribe
|
||||||
private void onGameTick(GameTick event) {
|
private void onGameTick(GameTick event) {
|
||||||
// if (isLoggedIn()
|
if (isLoggedIn()
|
||||||
// && game.localPlayer().position().regionID() == 14908) {
|
&& game.localPlayer().position().regionID() == 14908) {
|
||||||
// if (!active && game.localPlayer().position().distanceTo(hillHousePosition) < 10 && game.inventory().withNamePart("logs").count() == 4) {
|
if (!active && game.localPlayer().position().distanceTo(hillHousePosition) < 10 && game.inventory().withNamePart("logs").count() == 4) {
|
||||||
// execute();
|
execute();
|
||||||
// } else if (active && game.inventory().all().isEmpty() && !bank.isOpen() && game.localPlayer().position().distanceTo(islandPosition) < 10) {
|
} else if (active && game.inventory().all().isEmpty() && !bank.isOpen() && game.localPlayer().position().distanceTo(islandPosition) < 10) {
|
||||||
// execute();
|
execute();
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasRecentlyBeenEmptied(BirdhouseSpace space) {
|
public boolean hasRecentlyBeenEmptied(BirdhouseSpace space) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user