mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 08:09:39 +01:00
Bad Design Removal WIP Part 3
This commit is contained in:
parent
87af2419a3
commit
225045b49f
@ -11,10 +11,8 @@ import org.bukkit.entity.Player;
|
||||
|
||||
public class AddlevelsCommand extends ExperienceCommand {
|
||||
|
||||
private mcMMO pluginRef;
|
||||
|
||||
public AddlevelsCommand(mcMMO pluginRef) {
|
||||
this.pluginRef = pluginRef;
|
||||
super(pluginRef);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -20,13 +20,13 @@ import java.util.UUID;
|
||||
|
||||
public abstract class ExperienceCommand implements TabExecutor {
|
||||
|
||||
private mcMMO pluginRef;
|
||||
protected mcMMO pluginRef;
|
||||
|
||||
public ExperienceCommand(mcMMO pluginRef) {
|
||||
this.pluginRef = pluginRef;
|
||||
}
|
||||
|
||||
protected static void handleSenderMessage(CommandSender sender, String playerName, PrimarySkillType skill) {
|
||||
protected void handleSenderMessage(CommandSender sender, String playerName, PrimarySkillType skill) {
|
||||
if (skill == null) {
|
||||
sender.sendMessage(pluginRef.getLocaleManager().getString("Commands.addlevels.AwardAll.2", playerName));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user