mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Added longreach prevention
This commit is contained in:
1 parent
8ccbd9cfba
commit
db8686eea6
4 files changed
+96
-1
No files matched your search
@@ -1,15 +1,20 @@
|
||||
package net.h31ix.anticheat;
|
||||
|
||||
import net.h31ix.anticheat.event.BlockListener;
|
||||
import net.h31ix.anticheat.event.PlayerListener;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class Anticheat extends JavaPlugin {
|
||||
public ChatManager cm = new ChatManager(this);
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
|
||||
getServer().getPluginManager().registerEvents(new BlockListener(this), this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user