fixed online mode

This commit is contained in:
boy0001 2014-12-14 01:32:42 +11:00
parent 0f1dc0f58a
commit 007ae51bde
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ public class PlotMeConverter {
new ArrayList<>(); new ArrayList<>();
// Online Mode // Online Mode
final boolean online = final boolean online =
Bukkit.getServer().getOnlineMode() && Settings.OFFLINE_MODE; Bukkit.getServer().getOnlineMode() && !Settings.OFFLINE_MODE;
// PlotMe Plugin // PlotMe Plugin
final Plugin plotMePlugin = final Plugin plotMePlugin =
Bukkit.getPluginManager().getPlugin("PlotMe"); Bukkit.getPluginManager().getPlugin("PlotMe");

View File

@ -70,7 +70,7 @@ public class UUIDHandler {
* *
* @see org.bukkit.Server#getOnlineMode() * @see org.bukkit.Server#getOnlineMode()
*/ */
private final static boolean online = Bukkit.getServer().getOnlineMode() && Settings.OFFLINE_MODE; private final static boolean online = Bukkit.getServer().getOnlineMode() && !Settings.OFFLINE_MODE;
/** /**
* Map containing names and UUIDs * Map containing names and UUIDs