mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-07-24 14:33:43 +00:00
Fix offline mode UUIDs
This commit is contained in:
parent
75dbc2db98
commit
d19df3b6eb
1 changed files with 8 additions and 8 deletions
|
@ -274,15 +274,15 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
|
||||||
essentialsUUIDService = null;
|
essentialsUUIDService = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If running Paper we'll also try to use their profiles
|
|
||||||
if (PaperLib.isPaper()) {
|
|
||||||
final PaperUUIDService paperUUIDService = new PaperUUIDService();
|
|
||||||
impromptuPipeline.registerService(paperUUIDService);
|
|
||||||
backgroundPipeline.registerService(paperUUIDService);
|
|
||||||
PlotSquared.log(Captions.PREFIX + "(UUID) Using Paper as a complementary UUID service");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!Settings.UUID.OFFLINE) {
|
if (!Settings.UUID.OFFLINE) {
|
||||||
|
// If running Paper we'll also try to use their profiles
|
||||||
|
if (PaperLib.isPaper()) {
|
||||||
|
final PaperUUIDService paperUUIDService = new PaperUUIDService();
|
||||||
|
impromptuPipeline.registerService(paperUUIDService);
|
||||||
|
backgroundPipeline.registerService(paperUUIDService);
|
||||||
|
PlotSquared.log(Captions.PREFIX + "(UUID) Using Paper as a complementary UUID service");
|
||||||
|
}
|
||||||
|
|
||||||
impromptuPipeline.registerService(sqLiteUUIDService);
|
impromptuPipeline.registerService(sqLiteUUIDService);
|
||||||
backgroundPipeline.registerService(sqLiteUUIDService);
|
backgroundPipeline.registerService(sqLiteUUIDService);
|
||||||
impromptuPipeline.registerConsumer(sqLiteUUIDService);
|
impromptuPipeline.registerConsumer(sqLiteUUIDService);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue