개인 자료란 (JE)

  서버 커뮤니티

Profile Wakali 대표칭호 없음
Profile

질문하기 스크립트

Itemsadder 연동 오류

2023.11.07 조회 수 124 추천 수 0
이해도 초보자 
게임버전 (JE) 1.20.1 
게임버전 (BE) 관련없음 
스크립트 버전 2.7.2 
스크립트 애드온 skript-reflect 

import:

    dev.lone.itemsadder.api.ItemsAdder

command /shop:

    trigger:

        open chest inventory with 6 row named "shop" to player

        set slot 49 of player's current inventory to ItemsAdder.getCustomItem("_iainternal:icon_cancel") named "&cclose"

on inventory click:

    if event-inventory's display name contains "shop":

        if name of event-item contains "close":

            close player's inventory



처음 해당 스크립트를 리로드 할 때는 성공적으로 리로드 되지만

두 번째 리로드 부터는 아래 사진처럼 오류가 납니다.



1개의 댓글

코코냐
2023.11.07

이미 임포트된것 같습니다. 임포트를 빼고 해보세요.

뉴스 및 창작물
/files/thumbnails/487/784/003/262x150.crop.jpg?20240508233607

모드

Windows Borderless 모드에서 악성코드 발견

학교가기싫다

2024-05-08

1

/files/thumbnails/384/778/003/262x150.crop.jpg?20240512002324

업데이트

마인크래프트 자바 에디션 스냅샷 24w18a

학교가기싫다

2024-05-06

0

/files/thumbnails/855/781/003/262x150.crop.jpg?20240505141129

레드스톤

레이저 클리너

GlassesFilm

2024-05-05

1

/files/thumbnails/576/775/003/262x150.crop.jpg?20240426232553

아티클

이달의 블록: 단단한 진흙

학교가기싫다

2024-04-26

0

/files/thumbnails/115/774/003/262x150.crop.jpg?20240428135129

업데이트

마인크래프트 1.20.5 정식 업데이트

학교가기싫다

2024-04-24

0