just thaw the wall, fixes creating water sources in protected regions

This commit is contained in:
PhanaticD 2019-01-04 08:14:21 -05:00
parent dae0f19fcc
commit fa4139eccc

View file

@ -496,7 +496,7 @@ public class SurgeWall extends WaterAbility {
private void returnWater() {
if (this.location != null) {
if (this.frozen) {
this.location.getBlock().setType(Material.WATER);
this.thaw();
}
new WaterReturn(this.player, this.location.getBlock());
}