Skip to content

Commit

Permalink
Economy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leothawne committed Dec 17, 2023
1 parent c77d240 commit 139ef9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public final void onEnable() {
configuration = ConfigurationModule.load();
if(configuration.getBoolean("enable-plugin")) {
metrics = MetricsModule.init();
Economy economyPlugin = null;
economyPlugin = null;
if(configuration.getBoolean("use-vault")) {
console.info("Loading Vault...");
if(VaultModule.isVaultInstalled()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ public PlayerListener() {}
public final void onPlayerJoin(final PlayerJoinEvent event) {
final Player player = (Player) event.getPlayer();
LTItemMail.getInstance().getPlayerBusy().put(player.getUniqueId(), false);
if(player.hasPermission("LTItemMail.admin")) if(LTItemMail.getInstance().getConfiguration().getBoolean("update.check")) player.performCommand("itemmailadmin version");
if(player.hasPermission("LTItemMail.admin")) if(LTItemMail.getInstance().getConfiguration().getBoolean("update.check")) player.performCommand("itemmailadmin update");
}
}

0 comments on commit 139ef9c

Please sign in to comment.