forked from Upstream/mmocore
Changed placeholders in default player-stats.yml to reduce possible confusion
This commit is contained in:
parent
2f70c86b7e
commit
151eebcde4
@ -95,12 +95,9 @@ public class PlayerStats extends EditableInventory {
|
||||
|
||||
// holders.register("profession", type.getName());
|
||||
holders.register("progress", bar);
|
||||
holders.register("level", "" + inv.target.getCollectionSkills().getLevel(profession));
|
||||
holders.register("level", String.valueOf(inv.target.getCollectionSkills().getLevel(profession)));
|
||||
holders.register("xp", inv.target.getCollectionSkills().getExperience(profession));
|
||||
holders.register("percent", decimal.format(ratio * 100));
|
||||
for (StatInfo stat : MMOCore.plugin.statManager.getLoaded())
|
||||
if (Objects.equals(stat.profession, profession))
|
||||
holders.register(stat.name.toLowerCase(), StatManager.format(stat.name, stats.getStat(stat.name)));
|
||||
|
||||
return holders;
|
||||
}
|
||||
|
@ -64,9 +64,9 @@ items:
|
||||
- '&7&ocan''t find anywhere else. The more you'
|
||||
- '&7&ofish, the easier it becomes to find these.'
|
||||
- ''
|
||||
- '&7Fishing Strength: &c{fishing_strength}%'
|
||||
- '&7Crit Fishing Rate: &c{critical_fishing_chance}%'
|
||||
- '&7Crit Failure Rate: &c{critical_fishing_failure_chance}%'
|
||||
- '&7Fishing Strength: &c%mmocore_stat_fishing_strength%%'
|
||||
- '&7Crit Fishing Rate: &c%mmocore_stat_critical_fishing_chance%%'
|
||||
- '&7Crit Failure Rate: &c%mmocore_stat_critical_fishing_failure_chance%%'
|
||||
alchemy-profession:
|
||||
slots: [20]
|
||||
function: profession_alchemy
|
||||
|
Loading…
Reference in New Issue
Block a user