mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Fix calibration initialization
This commit is contained in:
1 parent
a4e37add06
commit
f6908c2a3d
1 file changed
+1
-3
+1
-3
@@ -41,8 +41,6 @@ public class CommandCalibrate extends CommandBase {
|
||||
|
||||
@Override
|
||||
protected void execute(CommandSender cs, String[] args) {
|
||||
Calibrator c = new Calibrator((Player) cs);
|
||||
SERVER.getPluginManager().registerEvents(c, AntiCheat.getPlugin());
|
||||
c.calibrate();
|
||||
Calibrator c = new Calibrator(AntiCheat.getPlugin(), (Player) cs);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user