Skip to content

Commit

Permalink
EliteMobs 9.1.5:
Browse files Browse the repository at this point in the history
- [Fix] Fixed pretty important bug where guild prices would be significantly lower than intended for some servers
- [Fix] NPC subtitles are now correctly colored

Signed-off-by: MagmaGuy <tiagoarnaut@gmail.com>
  • Loading branch information
MagmaGuy committed Aug 23, 2024
1 parent 3e69cdc commit d2d0418
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ processResources {
}

group 'com.magmaguy'
version '9.1.4'
version '9.1.5'

repositories {
maven {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,11 +475,11 @@ public void initializeValues() {

baseKillsForRankUp = ConfigurationEngine.setInt(
List.of("Sets the estimated base amount of bosses that must be killed to be able to afford a rank up."),
fileConfiguration, "baseKillsForRankUp", 100);
baseKillsForRankUp = ConfigurationEngine.setInt(
fileConfiguration, "baseKillsForRankUpV2", 100);
additionalKillsForRankUpPerTier = ConfigurationEngine.setInt(
List.of("Sets the estimated additional amount of bosses that must be killed to be able to rank up, per level.",
"The formula is this amount x the level the player is currently at."),
fileConfiguration, "additionalKillsForRankUpPerTier", 50);
fileConfiguration, "additionalKillsForRankUpPerTierV2", 50);

prestigeUnlockMessageTitle = ConfigurationEngine.setString(
List.of("Sets title sent to players when someone unlocks a prestige rank.",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/magmaguy/elitemobs/npcs/NPCEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ private void initializeRole() {
roleDisplay = this.villager.getWorld().spawn(villager.getLocation().add(offSet), ArmorStand.class, new Consumer<ArmorStand>() {
@Override
public void accept(ArmorStand armorStand) {
armorStand.setCustomName(npCsConfigFields.getRole());
armorStand.setCustomName(ChatColorConverter.convert(npCsConfigFields.getRole()));
armorStand.setCustomNameVisible(true);
armorStand.setMarker(true);
armorStand.setVisible(false);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: EliteMobs
version: 9.1.4
version: 9.1.5
author: MagmaGuy
main: com.magmaguy.elitemobs.EliteMobs
api-version: 1.14
Expand Down

0 comments on commit d2d0418

Please sign in to comment.