Removed LEGACY_IRON_FENCE
This commit is contained in:
parent
2b54013808
commit
014352e730
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
name: ActionHealth
|
name: ActionHealth
|
||||||
main: com.zeshanaslam.actionhealth.Main
|
main: com.zeshanaslam.actionhealth.Main
|
||||||
version: 3.2.7
|
version: 3.2.8
|
||||||
softdepend: [PlaceholderAPI, MVdWPlaceholderAPI, WorldGuard]
|
softdepend: [PlaceholderAPI, MVdWPlaceholderAPI, WorldGuard]
|
||||||
commands:
|
commands:
|
||||||
Actionhealth:
|
Actionhealth:
|
||||||
|
|
|
@ -236,7 +236,7 @@ public class TargetHelper {
|
||||||
Location temp = loc1.clone();
|
Location temp = loc1.clone();
|
||||||
for (int i = 0; i < steps; i++) {
|
for (int i = 0; i < steps; i++) {
|
||||||
temp.add(slope);
|
temp.add(slope);
|
||||||
if (temp.getBlock().getType().isSolid() && temp.getBlock().getType() != Material.LEGACY_IRON_FENCE && !temp.getBlock().getType().toString().contains("GLASS")) {
|
if (temp.getBlock().getType().isSolid() && !temp.getBlock().getType().toString().contains("FENCE") && !temp.getBlock().getType().toString().contains("GLASS")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue