mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Fix offline mode UUIDs
This commit is contained in:
parent
75dbc2db98
commit
d19df3b6eb
@ -274,6 +274,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
|
||||
essentialsUUIDService = null;
|
||||
}
|
||||
|
||||
if (!Settings.UUID.OFFLINE) {
|
||||
// If running Paper we'll also try to use their profiles
|
||||
if (PaperLib.isPaper()) {
|
||||
final PaperUUIDService paperUUIDService = new PaperUUIDService();
|
||||
@ -282,7 +283,6 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
|
||||
PlotSquared.log(Captions.PREFIX + "(UUID) Using Paper as a complementary UUID service");
|
||||
}
|
||||
|
||||
if (!Settings.UUID.OFFLINE) {
|
||||
impromptuPipeline.registerService(sqLiteUUIDService);
|
||||
backgroundPipeline.registerService(sqLiteUUIDService);
|
||||
impromptuPipeline.registerConsumer(sqLiteUUIDService);
|
||||
|
Loading…
Reference in New Issue
Block a user