Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Brunson committed Dec 7, 2022
1 parent 9b640f8 commit 896a426
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 35 deletions.
33 changes: 6 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
# README #
# Minehut Cosmetics
This is the code base for the Minehut Cosmetics project.

This README would normally document whatever steps are necessary to get your application up and running.
## Resource Pack
The resource pack can be found [Here](https://api.minehut.com/network/resourcepacks/info)

### What is this repository for? ###

* Quick summary
* Version
* [Learn Markdown](https://bitbucket.org/tutorials/markdowndemo)

### How do I get set up? ###

* Summary of set up
* Configuration
* Dependencies
* Database configuration
* How to run tests
* Deployment instructions

### Contribution guidelines ###

* Writing tests
* Code review
* Other guidelines

### Who do I talk to? ###

* Repo owner or admin
* Other community or team contact
## Example Images
![Example Image](https://i.imgur.com/3s7FM5R.png)
8 changes: 1 addition & 7 deletions src/main/java/com/minehut/cosmetics/Cosmetics.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void onEnable() {
this.config = new Config(this);
this.manager = new CosmeticsManager(this);
this.entityHandler = new CosmeticEntityHandler();

// process different actions depending on the operation mode the server is in
switch (config().mode()) {
case LOBBY -> {
Expand Down Expand Up @@ -185,10 +185,4 @@ private void removeCosmeticEntities() {
public static Cosmetics get() {
return INSTANCE;
}

public Gson gson() {
return gson;
}


}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public SalvageConfirmMenu(Cosmetic cosmetic) {
super(Component.text("Salvage for ")
.append(Component.text()
.append(Component.text(cosmetic.salvageAmount()))
.append(Currency.GEM.display())
.append(Currency.GEM.display().color(NamedTextColor.WHITE))
.append(Component.text("?").color(NamedTextColor.BLACK))
.build()
)
Expand Down

0 comments on commit 896a426

Please sign in to comment.