perf: Get rid of Guice overhead when accessing the plot area manager (#3315)

Fixes #3311
Co-authored-by: Jordan <dordsor21@gmail.com>
This commit is contained in:
Hannes Greule
2021-11-02 14:38:48 +01:00
committed by GitHub
parent 48c7a3e94e
commit b97e843849
3 changed files with 14 additions and 1 deletions

View File

@ -1180,6 +1180,11 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
return this.injector;
}
@Override
public @NonNull PlotAreaManager plotAreaManager() {
return this.plotAreaManager;
}
@NonNull
@Override
public Locale getLocale() {