Started GPowerAPI
This commit is contained in:
parent
7d73a18d17
commit
850169533a
7 changed files with 9 additions and 7 deletions
|
@ -60,7 +60,7 @@ public class AliLinkAPI {
|
|||
linkList.add(link);
|
||||
return true;
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({ "unchecked", "unused" })
|
||||
private List<Link> MapToLinkList(List<Map<?, ?>> mapList, Server server) {
|
||||
List<Link> linkList = new ArrayList<Link>();
|
||||
for (Map<?, ?> MapWithLinkData : mapList){
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package alisolarflare.components.gpowers;
|
||||
package alisolarflare.components.gpowers.api;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
@ -9,6 +9,8 @@ import org.bukkit.entity.Player;
|
|||
import org.bukkit.potion.PotionEffect;
|
||||
import org.bukkit.potion.PotionEffectType;
|
||||
|
||||
import alisolarflare.components.gpowers.PoweredPlayer;
|
||||
|
||||
public class GPowerAPI{
|
||||
public static final int defaultPowerLength = 300;
|
||||
public static Map<UUID, PoweredPlayer> poweredPlayerList = new HashMap<UUID, PoweredPlayer>();
|
|
@ -3,7 +3,7 @@ package alisolarflare.components.gpowers.commands;
|
|||
import org.bukkit.entity.Player;
|
||||
|
||||
import alisolarflare.architecture.commands.PlayerCommand;
|
||||
import alisolarflare.components.gpowers.GPowerAPI;
|
||||
import alisolarflare.components.gpowers.api.GPowerAPI;
|
||||
|
||||
public class GPower extends PlayerCommand {
|
||||
@Override
|
||||
|
|
|
@ -6,7 +6,7 @@ import org.bukkit.event.Listener;
|
|||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.bukkit.scheduler.BukkitRunnable;
|
||||
|
||||
import alisolarflare.components.gpowers.GPowerAPI;
|
||||
import alisolarflare.components.gpowers.api.GPowerAPI;
|
||||
|
||||
public class EnchantingLoop extends BukkitRunnable implements Listener{
|
||||
private Server server;
|
||||
|
|
|
@ -3,7 +3,7 @@ package alisolarflare.components.gpowers.powerstate;
|
|||
import org.bukkit.entity.Player;
|
||||
|
||||
import alisolarflare.architecture.commands.ModCommand;
|
||||
import alisolarflare.components.gpowers.GPowerAPI;
|
||||
import alisolarflare.components.gpowers.api.GPowerAPI;
|
||||
|
||||
public class PowerAll extends ModCommand{
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package alisolarflare.components.gpowers.powerstate;
|
|||
import org.bukkit.entity.Player;
|
||||
|
||||
import alisolarflare.architecture.commands.PlayerCommand;
|
||||
import alisolarflare.components.gpowers.GPowerAPI;
|
||||
import alisolarflare.components.gpowers.api.GPowerAPI;
|
||||
|
||||
public class PowerDown extends PlayerCommand {
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package alisolarflare.components.gpowers.powerstate;
|
|||
import org.bukkit.entity.Player;
|
||||
|
||||
import alisolarflare.architecture.commands.PlayerCommand;
|
||||
import alisolarflare.components.gpowers.GPowerAPI;
|
||||
import alisolarflare.components.gpowers.api.GPowerAPI;
|
||||
|
||||
public class PowerUp extends PlayerCommand {
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue