public class PlayerSectionParser extends SectionParser<PlayerRewards>
| Modifier and Type | Field and Description |
|---|---|
protected ActionParser |
actionParser |
protected double |
multiplier |
debugger| Constructor and Description |
|---|
PlayerSectionParser(ActionParser actionParser,
double multiplier) |
| Modifier and Type | Method and Description |
|---|---|
PlayerRewards |
parse(org.bukkit.configuration.ConfigurationSection input,
java.lang.String sectionName)
Transforms a configuration object, represented by a key, into an object.
|
getDebugger, isCollectExceptions, setDebuggerprotected ActionParser actionParser
protected double multiplier
public PlayerSectionParser(ActionParser actionParser, double multiplier)
public PlayerRewards parse(org.bukkit.configuration.ConfigurationSection input, java.lang.String sectionName) throws ParsingException
ConfigurationParserparse in class ConfigurationParser<PlayerRewards>input - - the configuration section in which the object is stored.sectionName - - the key of the configuration object.ParsingException - An error occurred during the parsing.