fix typo on fish-caught edit

This commit is contained in:
hyperdefined
2026-03-05 18:10:41 -05:00
parent 7e9a62a8f1
commit 91331965f1

View File

@@ -1114,7 +1114,7 @@ public class CommandToolStats implements BasicCommand {
}
break;
}
case "fight-caught": {
case "fish-caught": {
if (container.has(toolStats.toolStatsKeys.getFishCaught())) {
Integer statValue = container.get(toolStats.toolStatsKeys.getFishCaught(), PersistentDataType.INTEGER);
if (statValue == null) {
@@ -1127,7 +1127,7 @@ public class CommandToolStats implements BasicCommand {
return;
}
container.remove(toolStats.toolStatsKeys.getFishCaught());
List<String> newTokens = toolStats.itemChecker.removeToken(tokens, "fight-caught");
List<String> newTokens = toolStats.itemChecker.removeToken(tokens, "fish-caught");
if (newTokens.isEmpty()) {
container.remove(toolStats.toolStatsKeys.getTokenApplied());
} else {