mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-04 06:31:28 +01:00
Fixed another bunch of CheckStyle-warnings (VisibilityModifierCheck)
This time because of default visibility instead of private. We need a better way for these global config variables in MultiverseCore.java
This commit is contained in:
parent
1bdca7e615
commit
86cfa9d98f
@ -15,7 +15,7 @@ import org.bukkit.plugin.java.JavaPlugin;
|
|||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
public class PlayerDestination implements MVDestination {
|
public class PlayerDestination implements MVDestination {
|
||||||
String player;
|
private String player;
|
||||||
private boolean isValid;
|
private boolean isValid;
|
||||||
private JavaPlugin plugin;
|
private JavaPlugin plugin;
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@ import org.bukkit.util.Vector;
|
|||||||
public class WorldDestination implements MVDestination {
|
public class WorldDestination implements MVDestination {
|
||||||
private boolean isValid;
|
private boolean isValid;
|
||||||
private MultiverseWorld world;
|
private MultiverseWorld world;
|
||||||
float yaw = -1;
|
private float yaw = -1;
|
||||||
String direction = "";
|
private String direction = "";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getIdentifier() {
|
public String getIdentifier() {
|
||||||
|
@ -32,9 +32,9 @@ import org.bukkit.event.player.PlayerTeleportEvent;
|
|||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
public class MVPlayerListener extends PlayerListener {
|
public class MVPlayerListener extends PlayerListener {
|
||||||
MultiverseCore plugin;
|
private MultiverseCore plugin;
|
||||||
SafeTTeleporter mvteleporter;
|
private SafeTTeleporter mvteleporter;
|
||||||
MVWorldManager worldManager;
|
private MVWorldManager worldManager;
|
||||||
private PermissionTools pt;
|
private PermissionTools pt;
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ import java.util.logging.Level;
|
|||||||
|
|
||||||
public class MVPluginListener extends ServerListener {
|
public class MVPluginListener extends ServerListener {
|
||||||
|
|
||||||
MultiverseCore plugin;
|
private MultiverseCore plugin;
|
||||||
|
|
||||||
public MVPluginListener(MultiverseCore plugin) {
|
public MVPluginListener(MultiverseCore plugin) {
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
|
@ -26,7 +26,7 @@ import java.util.logging.Level;
|
|||||||
|
|
||||||
public class PurgeWorlds {
|
public class PurgeWorlds {
|
||||||
|
|
||||||
MultiverseCore plugin;
|
private MultiverseCore plugin;
|
||||||
|
|
||||||
public PurgeWorlds(MultiverseCore plugin) {
|
public PurgeWorlds(MultiverseCore plugin) {
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
|
@ -26,9 +26,8 @@ import java.util.logging.Level;
|
|||||||
|
|
||||||
public class SafeTTeleporter {
|
public class SafeTTeleporter {
|
||||||
|
|
||||||
MultiverseCore plugin;
|
private MultiverseCore plugin;
|
||||||
|
private BlockSafety bs;
|
||||||
BlockSafety bs;
|
|
||||||
|
|
||||||
public SafeTTeleporter(MultiverseCore plugin) {
|
public SafeTTeleporter(MultiverseCore plugin) {
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
|
@ -22,7 +22,7 @@ public class UpdateChecker {
|
|||||||
|
|
||||||
public static final Logger log = Logger.getLogger("Minecraft");
|
public static final Logger log = Logger.getLogger("Minecraft");
|
||||||
|
|
||||||
public Timer timer = new Timer(); // Create a new Timer.
|
private Timer timer = new Timer(); // Create a new Timer.
|
||||||
|
|
||||||
private String name; // Hold the Plugins Name.
|
private String name; // Hold the Plugins Name.
|
||||||
private String cversion; // Hold the Plugins Current Version.
|
private String cversion; // Hold the Plugins Current Version.
|
||||||
|
Loading…
Reference in New Issue
Block a user