修改json reader

This commit is contained in:
17146 2024-05-10 18:25:13 +08:00
parent 90ac4c88fa
commit 0a259bbb75
2 changed files with 4 additions and 1 deletions

View file

@ -4,7 +4,7 @@ plugins {
id 'org.spongepowered.mixin' version '0.7.+'
}
version = '1.0'
version = '0.0.4-SNAPSHOT'
group = 'com.Atsushio.target'
archivesBaseName = 'target'

View file

@ -36,6 +36,9 @@ public class GunsTool {
}
var path = id.getPath();
gunsData.put(path.substring(5, path.length() - 5), map);
reader.endObject();
reader.close();
} catch (Exception e) {
e.printStackTrace();
}