Skip to content

Commit

Permalink
feat: fix parsing in mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
cooffeeRequired committed Nov 25, 2024
1 parent a122e69 commit ef25e24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/cz/coffee/skjson/skript/base/JsonBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,9 @@ private static void toList(@NotNull String name, JsonElement inputJson, boolean


static <T> void parsed(String name, T object, boolean isLocal, Event event) {

name = name.substring(0, name.length() - 2);

if (ParserUtil.isClassicType(object)) {
primitive(name, object, isLocal, event);
} else {
Expand Down

0 comments on commit ef25e24

Please sign in to comment.