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;
|
||||
|
||||
public class PlayerDestination implements MVDestination {
|
||||
String player;
|
||||
private String player;
|
||||
private boolean isValid;
|
||||
private JavaPlugin plugin;
|
||||
|
||||
|
@ -19,8 +19,8 @@ import org.bukkit.util.Vector;
|
||||
public class WorldDestination implements MVDestination {
|
||||
private boolean isValid;
|
||||
private MultiverseWorld world;
|
||||
float yaw = -1;
|
||||
String direction = "";
|
||||
private float yaw = -1;
|
||||
private String direction = "";
|
||||
|
||||
@Override
|
||||
public String getIdentifier() {
|
||||
|
@ -32,9 +32,9 @@ import org.bukkit.event.player.PlayerTeleportEvent;
|
||||
import java.util.logging.Level;
|
||||
|
||||
public class MVPlayerListener extends PlayerListener {
|
||||
MultiverseCore plugin;
|
||||
SafeTTeleporter mvteleporter;
|
||||
MVWorldManager worldManager;
|
||||
private MultiverseCore plugin;
|
||||
private SafeTTeleporter mvteleporter;
|
||||
private MVWorldManager worldManager;
|
||||
private PermissionTools pt;
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@ import java.util.logging.Level;
|
||||
|
||||
public class MVPluginListener extends ServerListener {
|
||||
|
||||
MultiverseCore plugin;
|
||||
private MultiverseCore plugin;
|
||||
|
||||
public MVPluginListener(MultiverseCore plugin) {
|
||||
this.plugin = plugin;
|
||||
|
@ -26,7 +26,7 @@ import java.util.logging.Level;
|
||||
|
||||
public class PurgeWorlds {
|
||||
|
||||
MultiverseCore plugin;
|
||||
private MultiverseCore plugin;
|
||||
|
||||
public PurgeWorlds(MultiverseCore plugin) {
|
||||
this.plugin = plugin;
|
||||
|
@ -26,9 +26,8 @@ import java.util.logging.Level;
|
||||
|
||||
public class SafeTTeleporter {
|
||||
|
||||
MultiverseCore plugin;
|
||||
|
||||
BlockSafety bs;
|
||||
private MultiverseCore plugin;
|
||||
private BlockSafety bs;
|
||||
|
||||
public SafeTTeleporter(MultiverseCore plugin) {
|
||||
this.plugin = plugin;
|
||||
|
@ -22,7 +22,7 @@ public class UpdateChecker {
|
||||
|
||||
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 cversion; // Hold the Plugins Current Version.
|
||||
|
Loading…
Reference in New Issue
Block a user