Skip to content

Commit

Permalink
2.4.5
Browse files Browse the repository at this point in the history
- Minor code changes and improvements
  • Loading branch information
Foulest committed Aug 28, 2024
1 parent 11adaea commit 74485c7
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'net.milkbowl'
version = '2.4.4'
version = '2.4.5'
description = project.name

compileJava.options.encoding = 'UTF-8'
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/net/milkbowl/vault/Vault.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package net.milkbowl.vault;

import lombok.Getter;
import lombok.NoArgsConstructor;
import net.milkbowl.vault.cmds.VaultCmd;
import net.milkbowl.vault.permission.Permission;
import net.milkbowl.vault.permission.SuperPerms;
Expand All @@ -39,7 +38,6 @@
*
* @author Foulest
*/
@NoArgsConstructor
@SuppressWarnings("unused")
public class Vault extends JavaPlugin {

Expand Down
7 changes: 5 additions & 2 deletions src/main/java/net/milkbowl/vault/cmds/VaultCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
package net.milkbowl.vault.cmds;

import lombok.NoArgsConstructor;
import net.milkbowl.vault.Vault;
import net.milkbowl.vault.chat.Chat;
import net.milkbowl.vault.economy.Economy;
Expand All @@ -40,9 +39,13 @@
*
* @author Foulest
*/
@NoArgsConstructor
public class VaultCmd {

/**
* Handles the command logic.
*
* @param args The command arguments.
*/
@SuppressWarnings("MethodMayBeStatic")
@Command(name = "vault", description = "Main command for Vault.",
permission = "vault.main", usage = "/vault")
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/net/milkbowl/vault/economy/AbstractEconomy.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
package net.milkbowl.vault.economy;

import lombok.NoArgsConstructor;
import org.bukkit.OfflinePlayer;
import org.jetbrains.annotations.NotNull;

Expand All @@ -27,7 +26,6 @@
*
* @author Foulest
*/
@NoArgsConstructor
@SuppressWarnings({"deprecation", "unused"})
public abstract class AbstractEconomy implements Economy {

Expand Down
2 changes: 0 additions & 2 deletions src/main/java/net/milkbowl/vault/permission/Permission.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
package net.milkbowl.vault.permission;

import lombok.NoArgsConstructor;
import net.milkbowl.vault.util.ConstantUtil;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
Expand All @@ -35,7 +34,6 @@
*
* @author Foulest
*/
@NoArgsConstructor
@SuppressWarnings({"unused", "WeakerAccess"})
public abstract class Permission {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
* @author minnymin3
* @see <a href="https://github.com/mcardy/CommandFramework">CommandFramework GitHub</a>
*/
public class BukkitCommand extends org.bukkit.command.Command {
class BukkitCommand extends org.bukkit.command.Command {

private final Plugin owningPlugin;
private final CommandExecutor executor;
protected BukkitCompleter completer;
BukkitCompleter completer;

/**
* Constructs a BukkitCommand instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package net.milkbowl.vault.util.command;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
Expand All @@ -38,7 +37,6 @@
*/
@Getter
@Setter
@NoArgsConstructor
public class BukkitCompleter implements TabCompleter {

private final Map<String, Map.Entry<Method, Object>> completers = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
*/
@Getter
@Setter
@SuppressWarnings({"unused", "WeakerAccess"})
public class CommandArgs {

private final CommandSender sender;
Expand Down

0 comments on commit 74485c7

Please sign in to comment.