mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-30 01:50:50 +01:00
Merge branch '487-modtool' into 'dev'
fix(ModToolRoomInfoComposer): fix disconnect in pub rooms See merge request morningstar/Arcturus-Community!128
This commit is contained in:
commit
7d7ac20ff2
@ -20,14 +20,12 @@ public class ModToolRoomInfoComposer extends MessageComposer {
|
||||
this.response.appendBoolean(this.room.getHabbo(this.room.getOwnerId()) != null);
|
||||
this.response.appendInt(this.room.getOwnerId());
|
||||
this.response.appendString(this.room.getOwnerName());
|
||||
this.response.appendBoolean(!this.room.isPublicRoom());
|
||||
if (!this.room.isPublicRoom()) {
|
||||
this.response.appendString(this.room.getName());
|
||||
this.response.appendString(this.room.getDescription());
|
||||
this.response.appendInt(this.room.getTags().split(";").length);
|
||||
for (int i = 0; i < this.room.getTags().split(";").length; i++) {
|
||||
this.response.appendString(this.room.getTags().split(";")[i]);
|
||||
}
|
||||
this.response.appendBoolean(this.room.isPublicRoom());
|
||||
this.response.appendString(this.room.getName());
|
||||
this.response.appendString(this.room.getDescription());
|
||||
this.response.appendInt(this.room.getTags().split(";").length);
|
||||
for (int i = 0; i < this.room.getTags().split(";").length; i++) {
|
||||
this.response.appendString(this.room.getTags().split(";")[i]);
|
||||
}
|
||||
return this.response;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user