Suvarii commited on
Commit
960a717
·
verified ·
1 Parent(s): fb8a6d2

Update bot.js

Browse files
Files changed (1) hide show
  1. bot.js +1 -1
bot.js CHANGED
@@ -211,7 +211,7 @@ function createBot() {
211
  // Besleyici minyon paneli
212
  const cooked = window.slots.filter(xx => xx?.name && xx?.name == "cooked_beef");
213
  if (cooked.length > 0) {
214
- // Orijinal nbt parsing mantığını korudum
215
  const loreRaw = cooked[0]?.nbt?.value?.display?.value?.Lore?.value?.value[1];
216
  const parsed = loreRaw ? JSON.parse(loreRaw) : null;
217
  const extraText = parsed?.extra?.[0]?.text;
 
211
  // Besleyici minyon paneli
212
  const cooked = window.slots.filter(xx => xx?.name && xx?.name == "cooked_beef");
213
  if (cooked.length > 0) {
214
+ // Orijinal nbt parsing mantığını korudumm
215
  const loreRaw = cooked[0]?.nbt?.value?.display?.value?.Lore?.value?.value[1];
216
  const parsed = loreRaw ? JSON.parse(loreRaw) : null;
217
  const extraText = parsed?.extra?.[0]?.text;