mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 11:40:40 +00:00
Made instances map public
This commit is contained in:
parent
70b1a87ea7
commit
8e54feff23
9 changed files with 9 additions and 9 deletions
|
@ -14,7 +14,7 @@ import com.projectkorra.ProjectKorra.ProjectKorra;
|
|||
|
||||
public class AirSpout {
|
||||
|
||||
private static ConcurrentHashMap<Player, AirSpout> instances = new ConcurrentHashMap<Player, AirSpout>();
|
||||
public static ConcurrentHashMap<Player, AirSpout> instances = new ConcurrentHashMap<Player, AirSpout>();
|
||||
|
||||
private static final double HEIGHT = ProjectKorra.plugin.getConfig().getDouble("Abilities.Air.AirSpout.Height");
|
||||
private static final long interval = 100;
|
||||
|
|
|
@ -18,7 +18,7 @@ import com.projectkorra.ProjectKorra.Ability.AvatarState;
|
|||
|
||||
public class Ripple {
|
||||
|
||||
private static ConcurrentHashMap<Integer, Ripple> instances = new ConcurrentHashMap<Integer, Ripple>();
|
||||
public static ConcurrentHashMap<Integer, Ripple> instances = new ConcurrentHashMap<Integer, Ripple>();
|
||||
private static ConcurrentHashMap<Integer[], Block> blocks = new ConcurrentHashMap<Integer[], Block>();
|
||||
|
||||
static final double RADIUS = ProjectKorra.plugin.getConfig().getDouble("Abilities.Earth.Shockwave.Range");
|
||||
|
|
|
@ -13,7 +13,7 @@ import com.projectkorra.ProjectKorra.Ability.AvatarState;
|
|||
|
||||
public class Shockwave {
|
||||
|
||||
private static ConcurrentHashMap<Player, Shockwave> instances = new ConcurrentHashMap<Player, Shockwave>();
|
||||
public static ConcurrentHashMap<Player, Shockwave> instances = new ConcurrentHashMap<Player, Shockwave>();
|
||||
|
||||
private static final double angle = Math.toRadians(40);
|
||||
private static final long defaultchargetime = ProjectKorra.plugin.getConfig().getLong("Abilities.Earth.Shockwave.ChargeTime");
|
||||
|
|
|
@ -13,7 +13,7 @@ import com.projectkorra.ProjectKorra.Methods;
|
|||
|
||||
public class Cook {
|
||||
|
||||
private static ConcurrentHashMap<Player, Cook> instances = new ConcurrentHashMap<Player, Cook>();
|
||||
public static ConcurrentHashMap<Player, Cook> instances = new ConcurrentHashMap<Player, Cook>();
|
||||
|
||||
private static final long COOK_TIME = 2000;
|
||||
private static final Material[] cookables = { Material.RAW_BEEF,
|
||||
|
|
|
@ -21,7 +21,7 @@ import com.projectkorra.ProjectKorra.waterbending.WaterManipulation;
|
|||
|
||||
public class FireShield {
|
||||
|
||||
private static ConcurrentHashMap<Player, FireShield> instances = new ConcurrentHashMap<Player, FireShield>();
|
||||
public static ConcurrentHashMap<Player, FireShield> instances = new ConcurrentHashMap<Player, FireShield>();
|
||||
|
||||
private static long interval = 100;
|
||||
private static long DURATION = ProjectKorra.plugin.getConfig().getLong("Abilities.Fire.FireShield.Duration");
|
||||
|
|
|
@ -22,7 +22,7 @@ import com.projectkorra.ProjectKorra.Utilities.ParticleEffect;
|
|||
|
||||
public class IceBlast {
|
||||
|
||||
private static ConcurrentHashMap<Integer, IceBlast> instances = new ConcurrentHashMap<Integer, IceBlast>();
|
||||
public static ConcurrentHashMap<Integer, IceBlast> instances = new ConcurrentHashMap<Integer, IceBlast>();
|
||||
private static double RANGE = ProjectKorra.plugin.getConfig().getDouble("Abilities.Water.IceBlast.Range");
|
||||
private static int DAMAGE = ProjectKorra.plugin.getConfig().getInt("Abilities.Water.IceBlast.Damage");
|
||||
private static int ID = Integer.MIN_VALUE;
|
||||
|
|
|
@ -21,7 +21,7 @@ import com.projectkorra.ProjectKorra.TempPotionEffect;
|
|||
|
||||
public class IceSpike2 {
|
||||
|
||||
private static ConcurrentHashMap<Integer, IceSpike2> instances = new ConcurrentHashMap<Integer, IceSpike2>();
|
||||
public static ConcurrentHashMap<Integer, IceSpike2> instances = new ConcurrentHashMap<Integer, IceSpike2>();
|
||||
|
||||
private static double RANGE = ProjectKorra.plugin.getConfig().getLong("Abilities.Water.IceSpike.Projectile.Range");
|
||||
private static double DAMAGE = ProjectKorra.plugin.getConfig().getLong("Abilities.Water.IceSpike.Projectile.Damage");
|
||||
|
|
|
@ -19,7 +19,7 @@ import com.projectkorra.ProjectKorra.Ability.AvatarState;
|
|||
|
||||
public class OctopusForm {
|
||||
|
||||
static ConcurrentHashMap<Player, OctopusForm> instances = new ConcurrentHashMap<Player, OctopusForm>();
|
||||
public static ConcurrentHashMap<Player, OctopusForm> instances = new ConcurrentHashMap<Player, OctopusForm>();
|
||||
|
||||
private static int RANGE = ProjectKorra.plugin.getConfig().getInt("Abilities.Water.OctopusForm.Range");
|
||||
private static int DAMAGE = ProjectKorra.plugin.getConfig().getInt("Abilities.Water.OctopusForm.Damage");
|
||||
|
|
|
@ -22,7 +22,7 @@ import com.projectkorra.ProjectKorra.Ability.AvatarState;
|
|||
|
||||
public class Torrent {
|
||||
|
||||
private static ConcurrentHashMap<Player, Torrent> instances = new ConcurrentHashMap<Player, Torrent>();
|
||||
public static ConcurrentHashMap<Player, Torrent> instances = new ConcurrentHashMap<Player, Torrent>();
|
||||
private static ConcurrentHashMap<TempBlock, Player> frozenblocks = new ConcurrentHashMap<TempBlock, Player>();
|
||||
|
||||
static FileConfiguration config = ProjectKorra.plugin.getConfig();
|
||||
|
|
Loading…
Reference in a new issue