forked from fzorb/noThankYouMicrosoft
add basic pride flag loading
This commit is contained in:
parent
a0909717fd
commit
6c41124db4
1 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,11 @@ import java.util.UUID;
|
|||
|
||||
public class flagManager {
|
||||
public static String getUserPride(UUID uuid) {
|
||||
return "pride";
|
||||
String pride = NoThankYouMicrosoft.getDatabase().getString("player.%s.flag".formatted(uuid.toString()));
|
||||
if (pride == null) {
|
||||
return "none";
|
||||
} else {
|
||||
return pride;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue