Spaces:
Paused
Paused
Update bot.js
Browse files
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ı
|
| 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;
|