HOTHOTHOTFix
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
29a1992abf
Commit
e5c3b86e58
@ -60,7 +60,6 @@ class GUI {
|
|||||||
private static void deleteMembership(Player p, Schematic schem){
|
private static void deleteMembership(Player p, Schematic schem){
|
||||||
SWInventory inv = new SWInventory(p, 9, schem.getSchemName() + " entfernen");
|
SWInventory inv = new SWInventory(p, 9, schem.getSchemName() + " entfernen");
|
||||||
inv.setItem(0, SWItem.getDye(1), (byte) 1, "§eZugriff entfernen", click -> {
|
inv.setItem(0, SWItem.getDye(1), (byte) 1, "§eZugriff entfernen", click -> {
|
||||||
schem.remove();
|
|
||||||
SchematicMember member = SchematicMember.getSchemMemberFromDB(schem.getSchemName(), schem.getSchemOwner(), SteamwarUser.get(p.getUniqueId()).getId());
|
SchematicMember member = SchematicMember.getSchemMemberFromDB(schem.getSchemName(), schem.getSchemOwner(), SteamwarUser.get(p.getUniqueId()).getId());
|
||||||
member.remove();
|
member.remove();
|
||||||
p.sendMessage(SchematicSystem.PREFIX + "Zugriff zu Schematic §e" + schem.getSchemName() + " §7entfernt");
|
p.sendMessage(SchematicSystem.PREFIX + "Zugriff zu Schematic §e" + schem.getSchemName() + " §7entfernt");
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren