Negative Number Fix

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