From c06cdb7a0979c755c5aff31d56271d4b024b2d2d Mon Sep 17 00:00:00 2001 From: Beny Date: Sun, 26 May 2019 20:53:51 +0100 Subject: [PATCH] Fixed wrong guild furni extradata --- .../items/interactions/InteractionGuildFurni.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionGuildFurni.java b/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionGuildFurni.java index 8b3c05ea..667c5f44 100644 --- a/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionGuildFurni.java +++ b/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionGuildFurni.java @@ -35,16 +35,14 @@ public class InteractionGuildFurni extends InteractionDefault { serverMessage.appendString(guild.getBadge()); serverMessage.appendString(Emulator.getGameEnvironment().getGuildManager().getSymbolColor(guild.getColorOne()).valueA); serverMessage.appendString(Emulator.getGameEnvironment().getGuildManager().getBackgroundColor(guild.getColorTwo()).valueA); - - super.serializeExtradata(serverMessage); } else { serverMessage.appendInt((this.isLimited() ? 256 : 0)); serverMessage.appendString(this.getExtradata()); + } - if (this.isLimited()) { - serverMessage.appendInt(10); - serverMessage.appendInt(100); - } + if (this.isLimited()) { + serverMessage.appendInt(this.getLimitedSells()); + serverMessage.appendInt(this.getLimitedStack()); } }