mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
fixed online mode
This commit is contained in:
parent
0f1dc0f58a
commit
007ae51bde
@ -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");
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user