mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-14 12:11:42 +01:00
Make User constructor protected. Closes #18.
This commit is contained in:
parent
4787361e66
commit
c88600adda
@ -62,13 +62,13 @@ public abstract class User extends PermissionHolder implements Identifiable<User
|
||||
@Setter
|
||||
private String primaryGroup = null;
|
||||
|
||||
User(UUID uuid, LuckPermsPlugin plugin) {
|
||||
protected User(UUID uuid, LuckPermsPlugin plugin) {
|
||||
super(uuid.toString(), plugin);
|
||||
this.uuid = uuid;
|
||||
this.name = null;
|
||||
}
|
||||
|
||||
User(UUID uuid, String name, LuckPermsPlugin plugin) {
|
||||
protected User(UUID uuid, String name, LuckPermsPlugin plugin) {
|
||||
super(uuid.toString(), plugin);
|
||||
this.uuid = uuid;
|
||||
this.name = name;
|
||||
|
Loading…
Reference in New Issue
Block a user