Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
Process film gift through purchase method
Browse files Browse the repository at this point in the history
  • Loading branch information
Quackster committed Dec 13, 2021
1 parent 07c3ebb commit e021119
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ public void handle(Player player, NettyRequest reader) throws Exception {
!catalogueItem.getDefinition().hasBehaviour(ItemBehaviour.TELEPORTER) &&
!catalogueItem.getDefinition().hasBehaviour(ItemBehaviour.ROOMDIMMER) &&
!catalogueItem.getDefinition().hasBehaviour(ItemBehaviour.DECORATION) &&
!catalogueItem.getDefinition().hasBehaviour(ItemBehaviour.POST_IT)) {
!catalogueItem.getDefinition().hasBehaviour(ItemBehaviour.POST_IT) &&
!catalogueItem.getDefinition().getSprite().equalsIgnoreCase("film")) {
room.getMapping().removeItem(player, item);

item.setDefinitionId(catalogueItem.getDefinition().getId());
Expand Down

0 comments on commit e021119

Please sign in to comment.