diff --git a/pom.xml b/pom.xml index af07147..6942344 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 net.h31ix.anticheat AntiCheat - 1.3.8 + 1.3.8-U1 AntiCheat http://gravitydevelopment.net @@ -39,13 +39,13 @@ - + org.bukkit craftbukkit 1.3.2-R1.0 jar compile - + \ No newline at end of file diff --git a/src/main/java/net/h31ix/anticheat/manage/Backend.java b/src/main/java/net/h31ix/anticheat/manage/Backend.java index 103cdda..eb5a566 100644 --- a/src/main/java/net/h31ix/anticheat/manage/Backend.java +++ b/src/main/java/net/h31ix/anticheat/manage/Backend.java @@ -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(); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 971bf0e..7d5b414 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -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