Remove users with rights when a group is created

This commit is contained in:
Alejandro 2019-05-26 21:46:00 +03:00
parent 53cc5216e8
commit 7e9eb84d39

View File

@ -74,6 +74,7 @@ public class RequestGuildBuyEvent extends MessageHandler {
Guild guild = Emulator.getGameEnvironment().getGuildManager().createGuild(this.client.getHabbo(), roomId, r.getName(), name, description, badge, colorOne, colorTwo);
r.setGuild(guild.getId());
r.removeAllRights();
r.setNeedsUpdate(true);
if (Emulator.getConfig().getBoolean("imager.internal.enabled")) {