We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b3aaf8 commit 487493aCopy full SHA for 487493a
src/hmmhmmmm/shop/ui/ShopForm.php
@@ -68,7 +68,7 @@ public function Menu(Player $player, string $itemicon, int $buyPrice, int $sellP
68
return;
69
}
70
$count = (int) $data[2];
71
- if($data[1]){
+ if(!$data[1]){
72
$price = $buyPrice * $count;
73
$this->BuyConfirm($player, $itemicon, $count, $price);
74
}else{
0 commit comments