Skip to content

Commit 20f9d45

Browse files
committed
update no value for instasell
fix #53
1 parent c3dbc7c commit 20f9d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/java/com/coflnet/utils/SellAmountParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static long extractSellInstantlyAmountFromTooltip(List<Text> lines) {
6767
for (Text line : lines) {
6868
String lineText = line.getString();
6969
// Check if the description says "You don't have anything to sell" - treat as 0 value
70-
if (lineText.contains("You don't have anything to sell")) {
70+
if (lineText.contains("You don't have anything to sell") || lineText.contains("None to sell in your inventory")) {
7171
return 0;
7272
}
7373
Matcher matcher = SELL_INSTANTLY_PATTERN.matcher(lineText);

0 commit comments

Comments
 (0)