SteamWar/BauSystem2.0
Archiviert
12
0

Fix compilation with final var Permission.permissionChange

Dieser Commit ist enthalten in:
yoyosource 2021-04-21 17:17:41 +02:00
Ursprung f33218d90b
Commit 345402517c

Datei anzeigen

@ -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())) {