PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
53 stars 21 forks source link

problem with default.json and map.json #2265

Closed FuglyTurtle closed 1 year ago

FuglyTurtle commented 1 year ago

Terms

Discord tag (optional)

A User#6125

What happened?

I have 2 custom guis, and I want to use one for shop and one for bank, and suddenly I got error that something is wrong with map.json and default.json and I don't know what it is..

Steps to reproduce the issue

/iareload /iazip

Server version

This server is running Paper version git-Paper-388 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: fc9ee65 on ver/1.18.2)

ItemsAdder Version

ItemsAdder version 3.3.0b-r4

ProtocolLib Version

ProtocolLib version 4.8.0

LoneLibs Version

LoneLibs version 1.0.22

LightAPI Version (optional)

No response

LibsDisguises Version (optional)

No response

FULL server log

server_log.txt

Error (optional)

[12:51:01 ERROR]: [ItemsAdder] Malformed JSON /contents/_iainternal/resourcepack/assets/minecraft/models/item/map.json
[12:51:01 ERROR]: [ItemsAdder] com.google.gson.stream.MalformedJsonException: Unterminated array at line 13 column 10 path $.overrides[6]
[12:51:01 ERROR]: [ItemsAdder] Malformed JSON file. File: /contents/_iainternal/resourcepack/assets/minecraft/font/default.json
[12:51:01 ERROR]: [ItemsAdder] com.google.gson.stream.MalformedJsonException: Unterminated array at line 19 column 10 path $.providers[13]
[12:51:02 ERROR]: [ItemsAdder] Failed to validate model: /contents/_iainternal/resourcepack/assets/minecraft/models/item/map.json
[12:51:02 ERROR]: [ItemsAdder] com.google.gson.stream.MalformedJsonException: Unterminated array at line 13 column 10 path $.overrides[6]

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

FuglyTurtle commented 1 year ago

I fixed it, it was problem in custom model data...