Skip to content

Commit

Permalink
Fixed bug with deathmatch delay time always resetting.
Browse files Browse the repository at this point in the history
  • Loading branch information
PdeBot committed May 30, 2020
1 parent 18c9500 commit f7ba8f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public void load(YamlFile cfg, @Nullable YamlFile storage){
timeBeforeSendBungeeAfterEnd = cfg.getInt("bungee-support.time-before-send-after-end",-1);
timeToShrink = cfg.getLong("border.time-to-shrink",3600);
enableTimeLimit = cfg.getBoolean("deathmatch.enable",false);
timeLimit = cfg.getLong("deathmatch.limit",timeToShrink);
timeLimit = cfg.getLong("deathmatch.delay", timeToShrink);
borderIsMoving = cfg.getBoolean("border.moving",false);
borderTimeBeforeShrink = cfg.getLong("border.time-before-shrink",0);
deathmatchAdvantureMode = cfg.getBoolean("deathmatch.deathmatch-adventure-mode",true);
Expand Down

0 comments on commit f7ba8f4

Please sign in to comment.