From e4ef659756b6a7c0d322b4bff522a8c0426b2df5 Mon Sep 17 00:00:00 2001 From: Brady Date: Sat, 6 Oct 2018 20:35:32 -0500 Subject: [PATCH] Fix WorldScanner exposure --- src/api/java/baritone/api/BaritoneAPI.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/api/java/baritone/api/BaritoneAPI.java b/src/api/java/baritone/api/BaritoneAPI.java index cba66ddc..7497454e 100644 --- a/src/api/java/baritone/api/BaritoneAPI.java +++ b/src/api/java/baritone/api/BaritoneAPI.java @@ -19,6 +19,7 @@ package baritone.api; import baritone.api.behavior.*; import baritone.api.cache.IWorldProvider; +import baritone.api.cache.IWorldScanner; import baritone.api.event.listener.IGameEventListener; import java.util.Iterator; @@ -73,6 +74,10 @@ public final class BaritoneAPI { return baritone.getWorldProvider(); } + public static IWorldScanner getWorldScanner() { + return baritone.getWorldScanner(); + } + public static void registerEventListener(IGameEventListener listener) { baritone.registerEventListener(listener); }