mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-11-03 18:53:43 +01:00
Fix singleworlds
This commit is contained in:
committed by
Alexander Söderberg
parent
7ac3f7ca03
commit
3cea734b9b
@@ -490,6 +490,7 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
|
||||
TaskManager.getPlatformImplementation().taskRepeat(this::unload, TaskTime.seconds(1L));
|
||||
try {
|
||||
singleWorldListener = injector().getInstance(SingleWorldListener.class);
|
||||
Bukkit.getPluginManager().registerEvents(singleWorldListener, this);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user