mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
Fix NullPointerException in RedeemClothingEvent
This commit is contained in:
parent
4981d967eb
commit
ab65865d73
@ -29,7 +29,7 @@ public class RedeemClothingEvent extends MessageHandler
|
||||
{
|
||||
HabboItem item = this.client.getHabbo().getHabboInfo().getCurrentRoom().getHabboItem(itemId);
|
||||
|
||||
if(item.getUserId() == this.client.getHabbo().getHabboInfo().getId())
|
||||
if(item != null && item.getUserId() == this.client.getHabbo().getHabboInfo().getId())
|
||||
{
|
||||
if(item instanceof InteractionClothing)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user