mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 12:49:32 +00:00
Various Fixes
Fix earthsmash turning everything to dirt Fix waterspout not letting users fast swim
This commit is contained in:
parent
68b7116bc4
commit
28eaace99b
|
@ -499,7 +499,7 @@ public class EarthSmash extends EarthAbility {
|
|||
public Material selectMaterialForRepresenter(Material mat) {
|
||||
Material tempMat = selectMaterial(mat);
|
||||
Random rand = new Random();
|
||||
if (!isEarthbendable(tempMat) || !isMetalbendable(tempMat)) {
|
||||
if (!isEarthbendable(tempMat) && !isMetalbendable(tempMat)) {
|
||||
if (currentBlocks.size() < 1) {
|
||||
return Material.DIRT;
|
||||
} else {
|
||||
|
|
|
@ -310,7 +310,7 @@ public class WaterSpout extends WaterAbility {
|
|||
|
||||
@Override
|
||||
public boolean isSneakAbility() {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue