mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-03-08 01:11:59 +00:00
fix typo on fish-caught edit
This commit is contained in:
@@ -1114,7 +1114,7 @@ public class CommandToolStats implements BasicCommand {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "fight-caught": {
|
case "fish-caught": {
|
||||||
if (container.has(toolStats.toolStatsKeys.getFishCaught())) {
|
if (container.has(toolStats.toolStatsKeys.getFishCaught())) {
|
||||||
Integer statValue = container.get(toolStats.toolStatsKeys.getFishCaught(), PersistentDataType.INTEGER);
|
Integer statValue = container.get(toolStats.toolStatsKeys.getFishCaught(), PersistentDataType.INTEGER);
|
||||||
if (statValue == null) {
|
if (statValue == null) {
|
||||||
@@ -1127,7 +1127,7 @@ public class CommandToolStats implements BasicCommand {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
container.remove(toolStats.toolStatsKeys.getFishCaught());
|
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()) {
|
if (newTokens.isEmpty()) {
|
||||||
container.remove(toolStats.toolStatsKeys.getTokenApplied());
|
container.remove(toolStats.toolStatsKeys.getTokenApplied());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user