practise server category fix once more
This commit is contained in:
parent
e2674bc000
commit
0ce5298074
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
package com.github.stachelbeere1248.zombiesutils.timer.recorder;
|
||||
|
||||
import com.github.stachelbeere1248.zombiesutils.ZombiesUtils;
|
||||
import com.github.stachelbeere1248.zombiesutils.config.ZombiesUtilsConfig;
|
||||
import com.github.stachelbeere1248.zombiesutils.game.enums.Difficulty;
|
||||
import com.github.stachelbeere1248.zombiesutils.game.GameMode;
|
||||
|
@ -30,6 +31,7 @@ public class Category {
|
|||
}
|
||||
|
||||
public static void setSelectedCategory(String selectedCategory) {
|
||||
if (!ZombiesUtils.isHypixel()) selectedCategory += "-practise";
|
||||
Category.selectedCategory = selectedCategory;
|
||||
Timer.getInstance().ifPresent(timer -> timer.setCategory(new Category()));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue