mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fix multiversion issues with levitation, fix more stacktraces
This commit is contained in:
1 parent
6497891e43
commit
9473781a26
5 files changed
+13
-47
No files matched your search
@@ -113,7 +113,7 @@ public class VersionUtil {
|
||||
}
|
||||
|
||||
public static Block getTargetBlock(Player player, int distance) {
|
||||
if (isBountifulUpdate()) {
|
||||
if (!CURRENT_VERSION.isAtLeast(MinecraftVersion.AQUATIC_UPDATE)) {
|
||||
return player.getTargetBlock((Set<Material>) null, distance);
|
||||
}
|
||||
return player.getTargetBlockExact(distance);
|
||||
|
||||
Reference in new issue
Block a user