summaryrefslogtreecommitdiff
path: root/src/main/java/net/uomc/mineshaft/farm/CompostCommand.java
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2025-10-31 17:49:48 +0000
committerdavidovski <david@davidovski.xyz>2025-10-31 17:49:48 +0000
commit5a008748459e230de0e875afff59e3b92c7aca0c (patch)
tree0d09aebd1bb5628237959a6d1b49d1a7772d86a6 /src/main/java/net/uomc/mineshaft/farm/CompostCommand.java
parentfff63aaea786a5f1c59bbf99c999a2aa7bb810e5 (diff)
Work on v0.6
Diffstat (limited to 'src/main/java/net/uomc/mineshaft/farm/CompostCommand.java')
-rw-r--r--src/main/java/net/uomc/mineshaft/farm/CompostCommand.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/uomc/mineshaft/farm/CompostCommand.java b/src/main/java/net/uomc/mineshaft/farm/CompostCommand.java
index 0da607d..ce5deea 100644
--- a/src/main/java/net/uomc/mineshaft/farm/CompostCommand.java
+++ b/src/main/java/net/uomc/mineshaft/farm/CompostCommand.java
@@ -73,7 +73,7 @@ public class CompostCommand extends CooldownCommand {
long itemAmount = getMaxCompostable(e.getMember(), composters, i);
long bonemealAmount = (long) (itemAmount / COMPOST_LEVEL);
- description.append(String.format("%s->%s\n", bot.getItem(i).prettyValue(itemAmount), bot.getItem(MineshaftItem.BONEMEAL).prettyValue(bonemealAmount)));
+ description.append(String.format("%s🡒%s\n", bot.getItem(i).prettyValue(itemAmount), bot.getItem(MineshaftItem.BONEMEAL).prettyValue(bonemealAmount)));
});
if (amount.get() == 0) {
@@ -120,7 +120,7 @@ public class CompostCommand extends CooldownCommand {
bot.addItem(e.getMember(), MineshaftItem.BONEMEAL, bonemealAmount);
String content = String.format(":white_check_mark: You turned %s into %s", bot.getItem(item).prettyValue(itemAmount), bot.getItem(MineshaftItem.BONEMEAL).prettyValue(bonemealAmount));
- if (bot.getPickaxes().getFarmLevel(e.getMember()) < 1) {
+ if (bot.getPlayerStats().getFarmLevel(e.getMember()) < 1) {
content += "\nUse your bonemeal to expand your `m!farm`";
}
bot.sendSuccessMessage(e, content);