mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 15:00:52 +01:00
Fixed packet issue - copied 1:1 habbo behaviour on group admins for moderating threads
This commit is contained in:
parent
8fc91fc875
commit
8ac9d130bd
@ -153,7 +153,12 @@ public class GuildForumDataComposer extends MessageComposer {
|
||||
this.response.appendString(errorModerate);
|
||||
this.response.appendString(""); //citizen
|
||||
this.response.appendBoolean(guild.getOwnerId() == this.habbo.getHabboInfo().getId()); //Forum Settings
|
||||
this.response.appendBoolean(guild.getOwnerId() == this.habbo.getHabboInfo().getId() || isStaff); //Can Mod (staff)
|
||||
if (guild.canModForum().state == 3) {
|
||||
this.response.appendBoolean(guild.getOwnerId() == this.habbo.getHabboInfo().getId() || isStaff);
|
||||
}
|
||||
else {
|
||||
this.response.appendBoolean(guild.getOwnerId() == this.habbo.getHabboInfo().getId() || isStaff || isAdmin); //Can Mod (staff)
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
return new ConnectionErrorComposer(500).compose();
|
||||
|
Loading…
Reference in New Issue
Block a user