mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 19:50:37 +00:00
Fixed Final Bugs
Fixed the Range bug and used TempBlock instead of setType
This commit is contained in:
parent
b32cf46ecc
commit
8850298c24
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ import com.projectkorra.ProjectKorra.Utilities.ParticleEffect;
|
|||
public class IceBlast {
|
||||
|
||||
private static ConcurrentHashMap<Integer, IceBlast> instances = new ConcurrentHashMap<Integer, IceBlast>();
|
||||
private static double defaultrange = ProjectKorra.plugin.getConfig().getInt("Abilities.Water.IceBlast.Damage");
|
||||
private static double defaultrange = ProjectKorra.plugin.getConfig().getInt("Abilities.Water.IceBlast.Range");
|
||||
private static int defaultdamage = ProjectKorra.plugin.getConfig().getInt("Abilities.Water.IceBlast.Damage");
|
||||
private static int ID = Integer.MIN_VALUE;
|
||||
|
||||
|
@ -200,7 +200,7 @@ public class IceBlast {
|
|||
settingup = true;
|
||||
prepared = false;
|
||||
|
||||
sourceblock.setType(Material.AIR);
|
||||
new TempBlock(sourceblock, Material.AIR, (byte) 0);
|
||||
|
||||
source = new TempBlock(sourceblock, Material.PACKED_ICE, data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue