mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Value fixes
This commit is contained in:
1 parent
132b68ac38
commit
a1a8b9671c
2 files changed
+21
-63
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package net.h31ix.anticheat;
|
||||
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import net.h31ix.anticheat.event.BlockListener;
|
||||
import net.h31ix.anticheat.event.EntityListener;
|
||||
import net.h31ix.anticheat.event.PlayerListener;
|
||||
@@ -7,6 +9,7 @@ import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class Anticheat extends JavaPlugin {
|
||||
public ChatManager cm = new ChatManager(this);
|
||||
private static final Logger l = Logger.getLogger("Minecraft");
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
@@ -18,5 +21,10 @@ public class Anticheat extends JavaPlugin {
|
||||
getServer().getPluginManager().registerEvents(new BlockListener(this), this);
|
||||
getServer().getPluginManager().registerEvents(new EntityListener(this), this);
|
||||
}
|
||||
|
||||
public void log(String s)
|
||||
{
|
||||
l.log(Level.WARNING,s);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user