Fix compilation with final var Permission.permissionChange
Dieser Commit ist enthalten in:
Ursprung
f33218d90b
Commit
345402517c
@ -46,8 +46,7 @@ public enum Permission {
|
|||||||
OWNER(bauweltMember -> false);
|
OWNER(bauweltMember -> false);
|
||||||
|
|
||||||
private final Predicate<BauweltMember> permissionPredicate;
|
private final Predicate<BauweltMember> permissionPredicate;
|
||||||
private final BiConsumer<Player, BauweltMember> permissionChange = (player, bauweltMember) -> {
|
private BiConsumer<Player, BauweltMember> permissionChange = (player, bauweltMember) -> {};
|
||||||
};
|
|
||||||
|
|
||||||
public boolean hasPermission(Player member) {
|
public boolean hasPermission(Player member) {
|
||||||
if (member.getUniqueId().equals(BauServer.getInstance().getOwner())) {
|
if (member.getUniqueId().equals(BauServer.getInstance().getOwner())) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren