From eeae171a89de0f852c068d38b2542bda921f4930 Mon Sep 17 00:00:00 2001
From: SofianeLasri <alasri250@gmail.com>
Date: Sat, 15 Jan 2022 16:18:45 +0100
Subject: [PATCH] enchants

---
 pages/client/shops.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/client/shops.php b/pages/client/shops.php
index adf42f0a..c28f773a 100644
--- a/pages/client/shops.php
+++ b/pages/client/shops.php
@@ -101,7 +101,7 @@
                         }
 
                         $shopId = getRandomString(4);
-                        echo ('<div class="col-3 mb-2" id="'.$shopId.'" x="'.$shop['x'].'" y="'.$shop['y'].'" z="'.$shop['z'].'" world="'.$shop['world'].'" displayName="'.urlencode($shop['item']->getDisplayName()).'" type="'.$shop['item']->getId().'" price="'.$shop['price'].'">
+                        echo ('<div class="col-3 mb-2" id="'.$shopId.'" x="'.$shop['x'].'" y="'.$shop['y'].'" z="'.$shop['z'].'" world="'.$shop['world'].'" displayName="'.urlencode($shop['item']->getDisplayName()).'" enchants="'.urlencode(json_encode($shop['item']->getEnchants())).'" type="'.$shop['item']->getId().'" price="'.$shop['price'].'">
                                     <div class="card" style="width: 18rem;">
                                         <div class="card-body">
                                             <span class="badge badge-'.$badge.'">Stock: '.$shop['stock'].'</span>
-- 
GitLab