mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-24 17:47:44 +01:00
Fixing zero initalize for entity xp + party share
This commit is contained in:
parent
608a523996
commit
38c11d1601
@ -201,6 +201,7 @@ public class MainConfig extends ConfigValidated {
|
|||||||
public static final String LIGHTNING = "_Lightning";
|
public static final String LIGHTNING = "_Lightning";
|
||||||
public static final String GOLD_BLOCK = "GOLD_BLOCK";
|
public static final String GOLD_BLOCK = "GOLD_BLOCK";
|
||||||
public static final String PICKAXE = "_Pickaxe";
|
public static final String PICKAXE = "_Pickaxe";
|
||||||
|
public static final String EXP_SHARE_BONUS_BASE = "ExpShare_bonus_base";
|
||||||
|
|
||||||
public MainConfig() {
|
public MainConfig() {
|
||||||
//super(McmmoCore.getDataFolderPath().getAbsoluteFile(), "config.yml", true);
|
//super(McmmoCore.getDataFolderPath().getAbsoluteFile(), "config.yml", true);
|
||||||
@ -848,7 +849,7 @@ public class MainConfig extends ConfigValidated {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public double getPartyShareBonusBase() {
|
public double getPartyShareBonusBase() {
|
||||||
return getDoubleValue(PARTY, SHARING_EXP_SHARE_BONUS_BASE);
|
return getDoubleValue(PARTY, SHARING, EXP_SHARE_BONUS_BASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getPartyShareBonusIncrease() {
|
public double getPartyShareBonusIncrease() {
|
||||||
|
@ -27,7 +27,7 @@ public class StringUtils {
|
|||||||
*/
|
*/
|
||||||
public static String getEntityConfigName(EntityType entityType)
|
public static String getEntityConfigName(EntityType entityType)
|
||||||
{
|
{
|
||||||
return entityType.toString();
|
return getCapitalized(entityType.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getPrettyItemString(Material material) {
|
public static String getPrettyItemString(Material material) {
|
||||||
|
Loading…
Reference in New Issue
Block a user