mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +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,15 +20,13 @@ public class ModToolRoomInfoComposer extends MessageComposer {
|
|||||||
this.response.appendBoolean(this.room.getHabbo(this.room.getOwnerId()) != null);
|
this.response.appendBoolean(this.room.getHabbo(this.room.getOwnerId()) != null);
|
||||||
this.response.appendInt(this.room.getOwnerId());
|
this.response.appendInt(this.room.getOwnerId());
|
||||||
this.response.appendString(this.room.getOwnerName());
|
this.response.appendString(this.room.getOwnerName());
|
||||||
this.response.appendBoolean(!this.room.isPublicRoom());
|
this.response.appendBoolean(this.room.isPublicRoom());
|
||||||
if (!this.room.isPublicRoom()) {
|
|
||||||
this.response.appendString(this.room.getName());
|
this.response.appendString(this.room.getName());
|
||||||
this.response.appendString(this.room.getDescription());
|
this.response.appendString(this.room.getDescription());
|
||||||
this.response.appendInt(this.room.getTags().split(";").length);
|
this.response.appendInt(this.room.getTags().split(";").length);
|
||||||
for (int i = 0; i < this.room.getTags().split(";").length; i++) {
|
for (int i = 0; i < this.room.getTags().split(";").length; i++) {
|
||||||
this.response.appendString(this.room.getTags().split(";")[i]);
|
this.response.appendString(this.room.getTags().split(";")[i]);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return this.response;
|
return this.response;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user