Merge pull request 'Add BauweltMember.isBuild and BauweltMember.isSupervisor' (#62) from BauweltMemberUpdate into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Reviewed-on: #62 Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Commit
61ffbc2349
@ -102,4 +102,22 @@ public class BauweltMember {
|
|||||||
delete.update(bauweltID, memberID);
|
delete.update(bauweltID, memberID);
|
||||||
memberCache.remove(memberID);
|
memberCache.remove(memberID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isBuild() {
|
||||||
|
return worldEdit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isSupervisor() {
|
||||||
|
return world;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBuild(boolean build) {
|
||||||
|
this.worldEdit = build;
|
||||||
|
updateDB();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSupervisor(boolean supervisor) {
|
||||||
|
this.world = supervisor;
|
||||||
|
updateDB();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren