mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-08-16 08:26:29 +00:00
SeaLevel
This commit is contained in:
parent
0180332f4e
commit
43dcd5aae5
|
@ -8,5 +8,6 @@
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/LocalServer/plugins/ProjectKorra/Abilities/WaterManipulation.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/LocalServer/plugins/ProjectKorra/Abilities/WaterManipulation.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/LocalServer/plugins/ProjectKorra/Abilities/OctopusForm.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/LocalServer/plugins/ProjectKorra/Abilities/OctopusForm.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/LocalServer/plugins/ProjectKorra/Abilities/PhaseChange.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/LocalServer/plugins/ProjectKorra/Abilities/PhaseChange.jar"/>
|
||||||
|
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/LocalServer/plugins/ProjectKorra/Abilities/Surge.jar"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -29,6 +29,7 @@ public class ConfigManager {
|
||||||
earthbendable.add("SANDSTONE");
|
earthbendable.add("SANDSTONE");
|
||||||
|
|
||||||
plugin.getConfig().addDefault("Properties.GlobalCooldown", 500);
|
plugin.getConfig().addDefault("Properties.GlobalCooldown", 500);
|
||||||
|
plugin.getConfig().addDefault("Properties.SeaLevel", 62);
|
||||||
|
|
||||||
plugin.getConfig().addDefault("Properties.Air.CanBendWithWeapons", false);
|
plugin.getConfig().addDefault("Properties.Air.CanBendWithWeapons", false);
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,8 @@ import org.bukkit.util.Vector;
|
||||||
import com.projectkorra.ProjectKorra.Methods;
|
import com.projectkorra.ProjectKorra.Methods;
|
||||||
import com.projectkorra.ProjectKorra.TempBlock;
|
import com.projectkorra.ProjectKorra.TempBlock;
|
||||||
import com.projectkorra.abilities.OctopusForm.OctopusFormAbility;
|
import com.projectkorra.abilities.OctopusForm.OctopusFormAbility;
|
||||||
|
import com.projectkorra.abilities.Surge.WaterWall;
|
||||||
|
import com.projectkorra.abilities.Surge.Wave;
|
||||||
import com.projectkorra.abilities.WaterManipulation.WaterManipulationAbility;
|
import com.projectkorra.abilities.WaterManipulation.WaterManipulationAbility;
|
||||||
|
|
||||||
public class WaterReturn {
|
public class WaterReturn {
|
||||||
|
@ -155,7 +157,8 @@ public class WaterReturn {
|
||||||
private static boolean isBending(Player player) {
|
private static boolean isBending(Player player) {
|
||||||
if (Methods.isAbilityInstalled("WaterManipulation", "orion304")) {
|
if (Methods.isAbilityInstalled("WaterManipulation", "orion304")) {
|
||||||
for (int id : WaterManipulationAbility .instances.keySet()) {
|
for (int id : WaterManipulationAbility .instances.keySet()) {
|
||||||
if (WaterManipulationAbility.instances.get(id).player.equals(player))
|
WaterManipulationAbility.instances.get(id);
|
||||||
|
if (WaterManipulationAbility.player.equals(player))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
Properties:
|
Properties:
|
||||||
GlobalCooldown: 500
|
GlobalCooldown: 500
|
||||||
|
SeaLevel: 62
|
||||||
Chat:
|
Chat:
|
||||||
ChatPrefixes: true
|
ChatPrefixes: true
|
||||||
AirPrefix: "[&7Air&f]"
|
AirPrefix: "[&7Air&f]"
|
||||||
|
|
Loading…
Reference in a new issue