Yaruma3341
2d03c39883
Code Cleanup PlayerDeathListener; Added WinConditions; Added Win/Lose/Undecided and give money to FightPlayers; Added money variables to config.yml; Signed-off-by: Yaruma3341 <yaruma3341@gmail.com>
13 Zeilen
291 B
Java
13 Zeilen
291 B
Java
package me.yaruma.fightsystem.winconditions;
|
|
|
|
import me.yaruma.fightsystem.FightSystem;
|
|
|
|
public class Methods {
|
|
|
|
public static boolean isEnabled(String conditionPath) {
|
|
return FightSystem.getPlugin().getFileManager().getBooleanFromConfig(conditionPath) ? true : false;
|
|
}
|
|
|
|
|
|
}
|