Added: More chat bubbles to the Emulator & small fix in room

This commit is contained in:
duckietm 2024-04-09 08:12:14 +02:00
parent 754de3d248
commit 02d69f4db0
3 changed files with 12 additions and 2 deletions

View File

@ -1036,10 +1036,12 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
base = base | 8; base = base | 8;
} }
if (this.isAllowPets()) {
base = base | 16;
}
message.appendInt(base); message.appendInt(base);
if (this.getGuildId() > 0) { if (this.getGuildId() > 0) {
Guild g = Emulator.getGameEnvironment().getGuildManager().getGuild(this.getGuildId()); Guild g = Emulator.getGameEnvironment().getGuildManager().getGuild(this.getGuildId());
if (g != null) { if (g != null) {

View File

@ -46,7 +46,15 @@ public enum RoomChatMessageBubbles {
UNKNOWN_42(42, "", true, false), UNKNOWN_42(42, "", true, false),
UNKNOWN_43(43, "", true, false), UNKNOWN_43(43, "", true, false),
UNKNOWN_44(44, "", true, false), UNKNOWN_44(44, "", true, false),
UNKNOWN_45(45, "", true, false); UNKNOWN_45(45, "", true, false),
UNKNOWN_46(46, "", true, false),
UNKNOWN_47(47, "", true, false),
UNKNOWN_48(48, "", true, false),
UNKNOWN_49(49, "", true, false),
UNKNOWN_50(50, "", true, false),
UNKNOWN_51(51, "", true, false),
UNKNOWN_52(52, "", true, false),
UNKNOWN_53(53, "", true, false);
private final int type; private final int type;
private final String permission; private final String permission;