From 34eb2b00777e1f0ac69e34b0822dec0efb7b778b Mon Sep 17 00:00:00 2001 From: boy0001 Date: Wed, 11 Mar 2015 21:53:16 +1100 Subject: [PATCH] Fix UUID mode detection --- .../src/main/java/com/intellectualcrafters/plot/BukkitMain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java index 9e75b9eda..7be1dfd13 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java @@ -326,7 +326,7 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain { } else { AbstractTitle.TITLE_CLASS = new DefaultTitle(); } - if (Settings.OFFLINE_MODE) { + if (Settings.OFFLINE_MODE || Bukkit.getOnlineMode() == false) { UUIDHandler.uuidWrapper = new OfflineUUIDWrapper(); Settings.OFFLINE_MODE = true; } else if (checkVersion) {