Skip to content

Commit

Permalink
Fix missing inject annotation on QuickDeleteCommand ctor, fix invalid…
Browse files Browse the repository at this point in the history
… semicolon in lang files
  • Loading branch information
md5sha256 committed Mar 17, 2024
1 parent a79b006 commit 129b144
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package me.wiefferink.areashop.commands;

import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.sk89q.worldguard.protection.managers.RegionManager;
import me.wiefferink.areashop.MessageBridge;
Expand Down Expand Up @@ -37,6 +38,7 @@ public class QuickDeleteCommand extends AreashopCommandBean {
private final WorldGuardInterface worldGuardInterface;
private final MessageBridge messageBridge;

@Inject
public QuickDeleteCommand(
@Nonnull MessageBridge messageBridge,
@Nonnull IFileManager fileManager,
Expand Down
2 changes: 1 addition & 1 deletion AreaShop/src/main/resources/lang/EN-MM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ import-signAlreadyAdded: <red>Skipped adding sign at location '%1%' to region '%
import-moneyBackFailed: <red>Failed to parse buy price '%0%' and sell price '%1%'
to set the money back percentage.

quickadd-failedCreateWGRegion: "Failed to create the worldguard region!";
quickadd-failedCreateWGRegion: "Failed to create the worldguard region!"

confirm-rent:
- '%lang:prefix%Are you sure you want to rent %lang:tRegion|%0%|%?'
Expand Down
2 changes: 1 addition & 1 deletion AreaShop/src/main/resources/lang/EN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ import-invalidSignLocation: "[red]Failed to import a sign of region '%0%', inval
import-signAlreadyAdded: "[red]Skipped adding sign at location '%1%' to region '%0%', it is already added to region '%2%'."
import-moneyBackFailed: "[red]Failed to parse buy price '%0%' and sell price '%1%' to set the money back percentage."

quickadd-failedCreateWGRegion: "Failed to create the worldguard region!";
quickadd-failedCreateWGRegion: "Failed to create the worldguard region!"

confirm-rent:
- "%lang:prefix%Are you sure you want to rent %lang:tRegion|%0%|%?[break]"
Expand Down

0 comments on commit 129b144

Please sign in to comment.