Fix UUID mode detection

This commit is contained in:
boy0001 2015-03-11 21:53:16 +11:00
parent d5fe805d8f
commit 34eb2b0077

View File

@ -326,7 +326,7 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
} else { } else {
AbstractTitle.TITLE_CLASS = new DefaultTitle(); AbstractTitle.TITLE_CLASS = new DefaultTitle();
} }
if (Settings.OFFLINE_MODE) { if (Settings.OFFLINE_MODE || Bukkit.getOnlineMode() == false) {
UUIDHandler.uuidWrapper = new OfflineUUIDWrapper(); UUIDHandler.uuidWrapper = new OfflineUUIDWrapper();
Settings.OFFLINE_MODE = true; Settings.OFFLINE_MODE = true;
} else if (checkVersion) { } else if (checkVersion) {