mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-27 17:53:07 +00:00
Cleanup & multiple small fixes
This commit is contained in:
1 parent
1870893fe1
commit
a413c0a50a
53 files changed
+452
-371
No files matched your search
@@ -1,9 +1,13 @@
|
||||
package me.lucko.luckperms.groups;
|
||||
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.Getter;
|
||||
import lombok.ToString;
|
||||
import me.lucko.luckperms.LuckPermsPlugin;
|
||||
import me.lucko.luckperms.utils.PermissionObject;
|
||||
|
||||
@ToString(of = {"name"})
|
||||
@EqualsAndHashCode(of = {"name"}, callSuper = false)
|
||||
public class Group extends PermissionObject {
|
||||
|
||||
/**
|
||||
@@ -13,7 +17,7 @@ public class Group extends PermissionObject {
|
||||
private final String name;
|
||||
|
||||
Group(String name, LuckPermsPlugin plugin) {
|
||||
super(plugin, name);
|
||||
super(name, plugin);
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -23,9 +27,4 @@ public class Group extends PermissionObject {
|
||||
public void clearNodes() {
|
||||
getNodes().clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getName();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user