mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-06 23:54:43 +02:00
Add NullEconHandler to avoid verbose null checks
This commit is contained in:

committed by
Alexander Söderberg

parent
a5dea9e7f6
commit
551d1d9f1a
@ -337,9 +337,7 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
|
||||
TaskManager.runTask(() -> {
|
||||
this.getPermissionHandler().initialize();
|
||||
final EconHandler econHandler = getInjector().getInstance(EconHandler.class);
|
||||
if (econHandler != null) {
|
||||
econHandler.init();
|
||||
}
|
||||
econHandler.init();
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user