Skip to content
Permalink
Browse files

Removed broken dependency on AntiCheat

  • Loading branch information...
DarkArc committed May 6, 2019
1 parent 7019aa5 commit b5083d1076faefbe9df8ebd726a879112bafdd9d
22 pom.xml
@@ -29,8 +29,8 @@
<url>http://repo.maven.apache.org/maven2</url>
</repository>
<repository>
<id>sk89q-mvn2</id>
<url>http://mvn2.sk89q.com/repo</url>
<id>sk89q-maven</id>
<url>http://maven.sk89q.com/repo</url>
</repository>
<repository>
<id>comphenix-rep</id>
@@ -54,23 +54,23 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
<version>1.8.8-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
<version>1.8.8-R0.1-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>com.sk89q</groupId>
<artifactId>worldedit</artifactId>
<version>6.0.0-SNAPSHOT</version>
<groupId>com.sk89q.worldedit</groupId>
<artifactId>worldedit-bukkit</artifactId>
<version>6.1</version>
</dependency>
<dependency>
<groupId>com.sk89q</groupId>
<artifactId>worldguard</artifactId>
<version>6.0.0-SNAPSHOT</version>
<version>6.1</version>
</dependency>
<dependency>
<groupId>com.sk89q</groupId>
@@ -109,12 +109,6 @@
<artifactId>ncpcore</artifactId>
<version>static</version>
</dependency>
<dependency>
<groupId>net.gravitydevelopment.anticheat</groupId>
<artifactId>AntiCheat</artifactId>
<version>2.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
<distributionManagement>
<site>
@@ -81,7 +81,7 @@ public void onPlayerInteract(final PlayerInteractEvent event) {
Action action = null;
if(event.getAction() == Action.RIGHT_CLICK_AIR) {
try {
block = event.getPlayer().getTargetBlock(null, 5);
block = event.getPlayer().getTargetBlock((Set<Material>) null, 5);
if(block != null && block.getType() != Material.AIR)
action = Action.RIGHT_CLICK_BLOCK;
else
@@ -6,7 +6,6 @@
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;

import com.sk89q.craftbook.util.compat.AntiCheatCompatability;
import com.sk89q.craftbook.util.compat.CraftBookCompatability;
import com.sk89q.craftbook.util.compat.NoCheatPlusCompatability;

@@ -25,8 +24,6 @@
public static void init() {
if(Bukkit.getPluginManager().getPlugin("NoCheatPlus") != null)
compatChecks.add(new NoCheatPlusCompatability());
if(Bukkit.getPluginManager().getPlugin("AntiCheat") != null)
compatChecks.add(new AntiCheatCompatability());
}

public static void disableInterferences(Player player) {

This file was deleted.

Oops, something went wrong.

0 comments on commit b5083d1

Please sign in to comment.
You can’t perform that action at this time.