mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-15 05:17:53 +00:00
commit
f17080ca47
1 changed files with 4 additions and 0 deletions
|
@ -86,6 +86,10 @@ public class WaterWave {
|
||||||
remove();
|
remove();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (origin != null && !player.getWorld().equals(origin.getWorld())) {
|
||||||
|
remove();
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (type != AbilityType.RELEASE) {
|
if (type != AbilityType.RELEASE) {
|
||||||
if (!GeneralMethods.canBend(player.getName(), "WaterSpout") || !player.hasPermission("bending.ability.WaterSpout.Wave")) {
|
if (!GeneralMethods.canBend(player.getName(), "WaterSpout") || !player.hasPermission("bending.ability.WaterSpout.Wave")) {
|
||||||
remove();
|
remove();
|
||||||
|
|
Loading…
Reference in a new issue