mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fixed flying false-positives
This commit is contained in:
1 parent
bc468d37ef
commit
8405f4a15e
3 files changed
+6
-6
No files matched your search
@@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>net.h31ix.anticheat</groupId>
|
||||
<artifactId>AntiCheat</artifactId>
|
||||
<version>1.3.8</version>
|
||||
<version>1.3.8-U1</version>
|
||||
<name>AntiCheat</name>
|
||||
<url>http://gravitydevelopment.net</url>
|
||||
<repositories>
|
||||
@@ -39,13 +39,13 @@
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.bukkit</groupId>
|
||||
<artifactId>craftbukkit</artifactId>
|
||||
<version>1.3.2-R1.0</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -574,8 +574,8 @@ public class Backend
|
||||
return false;
|
||||
}
|
||||
String name = player.getName();
|
||||
int y1 = (int)distance.fromY();
|
||||
int y2 = (int)distance.toY();
|
||||
double y1 = distance.fromY();
|
||||
double y2 = distance.toY();
|
||||
if(!isMovingExempt(player) && !Utilities.isInWater(player) && !Utilities.canStand(player.getLocation().getBlock()) && Utilities.cantStandAt(player.getLocation().add(0, -1, 0).getBlock()) && Utilities.cantStandAt(player.getLocation().add(0, -2, 0).getBlock()))
|
||||
{
|
||||
Block block = player.getLocation().getBlock();
|
||||
|
||||
@@ -6,7 +6,7 @@ name: AntiCheat
|
||||
softdepend: [AntiCheat]
|
||||
startup: postworld
|
||||
url: http://gravitydevelopment.net
|
||||
version: ${project.version}
|
||||
version: ${project.version}-DEV-b${BUILD_NUMBER}
|
||||
commands:
|
||||
anticheat:
|
||||
description: Control and view info about AntiCheat
|
||||
|
||||
Reference in new issue
Block a user