Negative Number Fix
This commit is contained in:
@@ -17,6 +17,9 @@ public final class Pvptoggle extends JavaPlugin {
|
|||||||
@Override
|
@Override
|
||||||
public void onLoad(){
|
public void onLoad(){
|
||||||
pvptoggle = this;
|
pvptoggle = this;
|
||||||
PvpCommand.createPvpCommand();
|
PvpCommand.createPvpCommand();
|
||||||
|
if (Config.getPvpTime() <= 0) {
|
||||||
|
Config.setPvpTime(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user