Negative Number Fix

This commit is contained in:
Benkralex
2023-08-27 09:03:02 +02:00
committed by GitHub
parent de0eac177c
commit 568c11bd89
@@ -17,6 +17,9 @@ public final class Pvptoggle extends JavaPlugin {
@Override
public void onLoad(){
pvptoggle = this;
PvpCommand.createPvpCommand();
PvpCommand.createPvpCommand();
if (Config.getPvpTime() <= 0) {
Config.setPvpTime(0);
}
}
}