Skip to content

Commit

Permalink
holder
Browse files Browse the repository at this point in the history
  • Loading branch information
Angeschossen committed Mar 9, 2024
1 parent edb85bc commit 99a1d71
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ java {
}

group = "com.github.angeschossen"
version = "1.0.12"
version = "1.0.13"
description = "PluginFrameworkAPI"
java.sourceCompatibility = JavaVersion.VERSION_1_8

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@
import com.github.angeschossen.pluginframework.api.configuration.gui.GUIConfiguration;
import com.github.angeschossen.pluginframework.api.configuration.messages.Messages;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;

import java.util.Locale;
import java.util.UUID;

public interface PlayerData {
@NotNull CommandSender getCommandSender();

@NotNull
Messages getMessages();

UUID getUUID();
Player getPlayer();
GUIConfiguration getGUILocale();

GUIConfiguration getBedrockGUILocale();

@NotNull Locale getLocale();

}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public interface RoleHolder {

String getOwnerName();

void openMenu(@NotNull PlayerData player);
void openMenu(@NotNull PlayerData opener);

@NotNull SimpleRole getRole(@NotNull UUID uid);

Expand Down

0 comments on commit 99a1d71

Please sign in to comment.