Skip to content

Commit

Permalink
update cook/ingredient lore while aging, fix #603
Browse files Browse the repository at this point in the history
  • Loading branch information
Jsinco committed Apr 11, 2024
1 parent f0b5e50 commit c79cf70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,13 @@
<id>Lichtspiele</id>
<url>https://nexus.lichtspiele.org/repository/releases/</url>
</repository>

</repositories>

<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20.2-R0.1-SNAPSHOT</version>
<version>1.20.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand Down
2 changes: 2 additions & 0 deletions src/com/dre/brewery/Brew.java
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,8 @@ public void age(ItemStack item, float time, byte woodType) {
if (ageTime > 0.5) {
if (BConfig.colorInBarrels) {
lore.updateWoodLore(true);
lore.updateIngredientLore(true);
lore.updateCookLore(true);
}
lore.updateQualityStars(BConfig.colorInBarrels);
lore.updateCustomLore();
Expand Down

0 comments on commit c79cf70

Please sign in to comment.