Skip to content

Commit 487493a

Browse files
committed
boolean?
1 parent 4b3aaf8 commit 487493a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hmmhmmmm/shop/ui/ShopForm.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function Menu(Player $player, string $itemicon, int $buyPrice, int $sellP
6868
return;
6969
}
7070
$count = (int) $data[2];
71-
if($data[1]){
71+
if(!$data[1]){
7272
$price = $buyPrice * $count;
7373
$this->BuyConfirm($player, $itemicon, $count, $price);
7474
}else{

0 commit comments

Comments
 (0)