Cleanup & multiple small fixes

This commit is contained in:
Luck committed 2016-07-21 14:15:14 +01:00
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();
}
}