Fixed high priority style warnings
This commit is contained in:
parent
3ad7d86f74
commit
85cd71cb8a
|
@ -147,7 +147,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core, Listen
|
|||
* @param teleportee The name of the player that was teleported.
|
||||
*/
|
||||
public static void addPlayerToTeleportQueue(String teleporter, String teleportee) {
|
||||
Logging.finest( "Adding mapping '%s' => '%s' to teleport queue", teleporter, teleportee);
|
||||
Logging.finest("Adding mapping '%s' => '%s' to teleport queue", teleporter, teleportee);
|
||||
teleportQueue.put(teleportee, teleporter);
|
||||
}
|
||||
|
||||
|
@ -251,6 +251,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core, Listen
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @deprecated Now using Vault.
|
||||
*/
|
||||
@Override
|
||||
@Deprecated
|
||||
|
@ -1045,6 +1046,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core, Listen
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @deprecated Now using Vault.
|
||||
*/
|
||||
@Override
|
||||
@Deprecated
|
||||
|
@ -1054,6 +1056,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core, Listen
|
|||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* @deprecated Now using Vault.
|
||||
*/
|
||||
@Override
|
||||
@Deprecated
|
||||
|
|
|
@ -11,13 +11,7 @@ import buscript.Buscript;
|
|||
import com.fernferret.allpay.AllPay;
|
||||
import com.fernferret.allpay.GenericBank;
|
||||
import com.onarandombox.MultiverseCore.destination.DestinationFactory;
|
||||
import com.onarandombox.MultiverseCore.utils.AnchorManager;
|
||||
import com.onarandombox.MultiverseCore.utils.MVPermissions;
|
||||
import com.onarandombox.MultiverseCore.utils.MVPlayerSession;
|
||||
import com.onarandombox.MultiverseCore.utils.SimpleBlockSafety;
|
||||
import com.onarandombox.MultiverseCore.utils.SimpleLocationManipulation;
|
||||
import com.onarandombox.MultiverseCore.utils.SimpleSafeTTeleporter;
|
||||
import com.onarandombox.MultiverseCore.utils.WorldManager;
|
||||
import com.onarandombox.MultiverseCore.utils.*;
|
||||
import com.pneumaticraft.commandhandler.CommandHandler;
|
||||
import net.milkbowl.vault.economy.Economy;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
|
|
|
@ -61,8 +61,7 @@ public class SubSpawnSettings extends SerializationConfig {
|
|||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param The new spawn rate
|
||||
* @param rate The new spawn rate
|
||||
*/
|
||||
public void setSpawnRate(int rate) {
|
||||
this.spawnrate = rate;
|
||||
|
|
|
@ -46,7 +46,7 @@ public class FileUtils {
|
|||
}
|
||||
|
||||
/**
|
||||
* Used to delete the contents of a folder, without deleting the folder itself
|
||||
* Used to delete the contents of a folder, without deleting the folder itself.
|
||||
*
|
||||
* @param file The folder whose contents to delete.
|
||||
* @return true if the contents were successfully deleted
|
||||
|
|
|
@ -27,10 +27,11 @@ import java.util.Set;
|
|||
*/
|
||||
public class SimpleBlockSafety implements BlockSafety {
|
||||
private final Core plugin;
|
||||
private final static Set<BlockFace> AROUND_BLOCK = new HashSet<BlockFace>(){{ add(BlockFace.NORTH); add(BlockFace.NORTH_EAST);
|
||||
add(BlockFace.EAST); add(BlockFace.SOUTH_EAST);
|
||||
add(BlockFace.SOUTH); add(BlockFace.SOUTH_WEST);
|
||||
add(BlockFace.WEST); add(BlockFace.NORTH_WEST); }};
|
||||
private static final Set<BlockFace> AROUND_BLOCK = new HashSet<BlockFace>() {{
|
||||
add(BlockFace.NORTH); add(BlockFace.NORTH_EAST); add(BlockFace.EAST); add(BlockFace.SOUTH_EAST);
|
||||
add(BlockFace.SOUTH); add(BlockFace.SOUTH_WEST); add(BlockFace.WEST); add(BlockFace.NORTH_WEST);
|
||||
}
|
||||
};
|
||||
|
||||
public SimpleBlockSafety(Core plugin) {
|
||||
this.plugin = plugin;
|
||||
|
|
Loading…
Reference in New Issue