Skip to content

Commit

Permalink
Added a description to non-described items in the minishop.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Apr 28, 2016
1 parent d8677eb commit c2bc2b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,5 @@
<url>http://maven.sk89q.com/repo/</url>
</repository>
</repositories>
<version>3.0.0.5</version>
<version>3.0.0.6</version>
</project>
3 changes: 3 additions & 0 deletions src/com/wasteofplastic/askyblock/panels/MiniShopItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ public class MiniShopItem {
public MiniShopItem(Material material, String extra, int slot, String description, int quantity, Double price, Double sellPrice) {
this.slot = slot;
this.material = material;
if (description.isEmpty()) {
description = Util.prettifyText(material.name());
}
this.description = description;
this.price = price;
this.sellPrice = sellPrice;
Expand Down

0 comments on commit c2bc2b6

Please sign in to comment.