chore: pre-commit changes [skip ci]

This commit is contained in:
github-actions[bot] 2025-01-04 07:40:05 +00:00
parent f1d4a9e124
commit c7e9e850ab
2 changed files with 5 additions and 5 deletions

View File

@ -154,11 +154,11 @@ public class DestiTag implements Tag.Activation, Tag.AutoComplete, Tag.Split {
for (var destiTag : destination.getArgs()) {
Tag.Activation activationHandler =
tagRegistry.getActivationHandler(destiTag.NAME,
Tag.TagType.DESTINATION);
tagRegistry.getActivationHandler(destiTag.NAME,
Tag.TagType.DESTINATION);
if (activationHandler != null) {
activationHandler.activated(target, player,
activationData, argData);
activationHandler.activated(target, player, activationData,
argData);
}
}

View File

@ -65,7 +65,7 @@ public class TagReader {
if (inQuotes && arg.endsWith("\"")) {
inQuotes = false;
if(currentValue.length() > 1) {
if (currentValue.length() > 1) {
currentValue.deleteCharAt(currentValue.length() - 1);
}
}