Fix WorldScanner exposure
This commit is contained in:
parent
4b61452c62
commit
e4ef659756
@ -19,6 +19,7 @@ package baritone.api;
|
|||||||
|
|
||||||
import baritone.api.behavior.*;
|
import baritone.api.behavior.*;
|
||||||
import baritone.api.cache.IWorldProvider;
|
import baritone.api.cache.IWorldProvider;
|
||||||
|
import baritone.api.cache.IWorldScanner;
|
||||||
import baritone.api.event.listener.IGameEventListener;
|
import baritone.api.event.listener.IGameEventListener;
|
||||||
|
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
@ -73,6 +74,10 @@ public final class BaritoneAPI {
|
|||||||
return baritone.getWorldProvider();
|
return baritone.getWorldProvider();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static IWorldScanner getWorldScanner() {
|
||||||
|
return baritone.getWorldScanner();
|
||||||
|
}
|
||||||
|
|
||||||
public static void registerEventListener(IGameEventListener listener) {
|
public static void registerEventListener(IGameEventListener listener) {
|
||||||
baritone.registerEventListener(listener);
|
baritone.registerEventListener(listener);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user