fix deepsource problems

This commit is contained in:
hyperdefined
2022-10-13 18:09:19 -04:00
parent bea7e52347
commit 24d30f6059
5 changed files with 8 additions and 19 deletions

View File

@@ -186,7 +186,7 @@ public final class ToolStats extends JavaPlugin {
itemType = "trident";
}
} else {
itemType = itemName.substring(itemName.indexOf("_") + 1);
itemType = itemName.substring(itemName.indexOf('_') + 1);
}
if (itemType == null) {