mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 14:38:46 +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
|
@Override
|
||||||
protected void execute(CommandSender cs, String[] args) {
|
protected void execute(CommandSender cs, String[] args) {
|
||||||
Calibrator c = new Calibrator((Player) cs);
|
Calibrator c = new Calibrator(AntiCheat.getPlugin(), (Player) cs);
|
||||||
SERVER.getPluginManager().registerEvents(c, AntiCheat.getPlugin());
|
|
||||||
c.calibrate();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user