Skip to content

Commit

Permalink
fix: wrong method to check cask item (#1696)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospess0a authored Oct 18, 2023
1 parent fb5f3ca commit 69c763d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data-otservbr-global/scripts/actions/other/cask_kegs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ local targetIdList = {
local flasks = Action()

function flasks.onUse(player, item, fromPosition, target, toPosition, isHotkey)
if not target or not target:getItem() then
if not target then
return false
end

Expand Down
4 changes: 2 additions & 2 deletions data/modules/scripts/gamestore/gamestore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3081,8 +3081,8 @@ GameStore.Categories = {
{
icons = { "Demon_Statue.png" },
name = "Demon Statue",
price = 34058,
itemtype = 31212,
price = 25,
itemtype = 34058,
count = 1,
description = "{house}\n{box}\n{storeinbox}\n{use}\n{backtoinbox}",
type = GameStore.OfferTypes.OFFER_TYPE_HOUSE,
Expand Down

1 comment on commit 69c763d

@elsongabriel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agora tá dando isso:
image

Please sign in to comment.