mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
Fixed trading untradable items
This commit is contained in:
parent
c3721a671c
commit
82d456a630
@ -17,7 +17,7 @@ public class TradeOfferItemEvent extends MessageHandler {
|
||||
|
||||
HabboItem item = this.client.getHabbo().getInventory().getItemsComponent().getHabboItem(this.packet.readInt());
|
||||
|
||||
if (item == null)
|
||||
if (item == null || !item.getBaseItem().allowTrade())
|
||||
return;
|
||||
|
||||
trade.offerItem(this.client.getHabbo(), item);
|
||||
|
Loading…
Reference in New Issue
Block a user