mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
parent
3365da7f8d
commit
eb2e0d3abf
@ -83,7 +83,7 @@ public class TreasureConfig extends ConfigLoader {
|
|||||||
|
|
||||||
loadTreaures("Fishing");
|
loadTreaures("Fishing");
|
||||||
loadTreaures("Excavation");
|
loadTreaures("Excavation");
|
||||||
loadTreaures("Hylian");
|
loadTreaures("Hylian_Luck");
|
||||||
|
|
||||||
for (EntityType entity : EntityType.values()) {
|
for (EntityType entity : EntityType.values()) {
|
||||||
if (entity.isAlive()) {
|
if (entity.isAlive()) {
|
||||||
@ -96,7 +96,7 @@ public class TreasureConfig extends ConfigLoader {
|
|||||||
boolean isFishing = type.equals("Fishing");
|
boolean isFishing = type.equals("Fishing");
|
||||||
boolean isShake = type.contains("Shake");
|
boolean isShake = type.contains("Shake");
|
||||||
boolean isExcavation = type.equals("Excavation");
|
boolean isExcavation = type.equals("Excavation");
|
||||||
boolean isHylian = type.equals("Hylian");
|
boolean isHylian = type.equals("Hylian_Luck");
|
||||||
|
|
||||||
ConfigurationSection treasureSection = config.getConfigurationSection(type);
|
ConfigurationSection treasureSection = config.getConfigurationSection(type);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user