mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Further refactoring, move away from using future thread pool
This commit is contained in:
1 parent
4c90e5498c
commit
39e0b25d46
56 files changed
+737
-1713
No files matched your search
@@ -40,7 +40,7 @@ public abstract class EconomyHook extends PluginHook {
|
||||
/**
|
||||
* Identifies actions that incur an economic cost if economy is enabled
|
||||
*/
|
||||
public enum EconomyAction {
|
||||
public enum Action {
|
||||
ADDITIONAL_HOME_SLOT(100.00, "economy_action_additional_home_slot"),
|
||||
MAKE_HOME_PUBLIC(50.00, "economy_action_make_home_public"),
|
||||
RANDOM_TELEPORT(25.00, "economy_action_random_teleport"),
|
||||
@@ -50,7 +50,7 @@ public abstract class EconomyHook extends PluginHook {
|
||||
@NotNull
|
||||
public final String confirmationLocaleId;
|
||||
|
||||
EconomyAction(final double defaultCost, @NotNull String confirmationLocaleId) {
|
||||
Action(final double defaultCost, @NotNull String confirmationLocaleId) {
|
||||
this.defaultCost = defaultCost;
|
||||
this.confirmationLocaleId = confirmationLocaleId;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user