mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Added support for 1.8.8
This commit is contained in:
1 parent
661718d001
commit
67e824ef28
14 files changed
+2368
-211
No files matched your search
@@ -25,7 +25,6 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.entity.Player;
|
||||
@@ -69,7 +68,7 @@ public class WaterWalkCheck {
|
||||
}
|
||||
if (!violation && !Utilities.isFullyInWater(player.getLocation())
|
||||
&& Utilities.isHoveringOverWater(player.getLocation(), 1) && y == 0D
|
||||
&& !block.getType().equals(Material.LILY_PAD)) {
|
||||
&& !block.getType().equals(Utilities.LILY_PAD)) {
|
||||
violation = true;
|
||||
}
|
||||
if (violation) {
|
||||
|
||||
Reference in new issue
Block a user