mirror of
https://github.com/zeshan321/ActionHealth.git
synced 2024-11-14 23:05:11 +01:00
Removed LEGACY_IRON_FENCE
This commit is contained in:
parent
2b54013808
commit
014352e730
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
name: ActionHealth
|
||||
main: com.zeshanaslam.actionhealth.Main
|
||||
version: 3.2.7
|
||||
version: 3.2.8
|
||||
softdepend: [PlaceholderAPI, MVdWPlaceholderAPI, WorldGuard]
|
||||
commands:
|
||||
Actionhealth:
|
||||
|
@ -236,7 +236,7 @@ public class TargetHelper {
|
||||
Location temp = loc1.clone();
|
||||
for (int i = 0; i < steps; i++) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user