mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fixed falses with sweet berry bushes
This commit is contained in:
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user