Fix WorldScanner exposure

This commit is contained in:
Brady 2018-10-06 20:35:32 -05:00
parent 4b61452c62
commit e4ef659756
No known key found for this signature in database
GPG Key ID: 73A788379A197567

View File

@ -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);
} }