Fixed falses with sweet berry bushes

This commit is contained in:
Rammelkast committed 2020-08-27 14:38:21 +02:00
1 parent 8de7ae1c59
commit 09c42905d0
2 files changed
+5 -3

No files matched your search

@@ -529,7 +529,7 @@ public final class Utilities {
* @return true if web
*/
public static boolean isWeb(Block block) {
return block.getType() == XMaterial.COBWEB.parseMaterial();
return block.getType() == COB_WEB;
}
/**
@@ -1016,6 +1016,7 @@ public final class Utilities {
if (VersionUtil.isOfVersion("v1_14") || VersionUtil.isOfVersion("v1_15")
|| VersionUtil.isOfVersion("v1_16")) {
CLIMBABLE.add(Material.SCAFFOLDING);
CLIMBABLE.add(Material.SWEET_BERRY_BUSH);
}
// End 1.14 objects