修改json reader
This commit is contained in:
parent
90ac4c88fa
commit
0a259bbb75
2 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@ plugins {
|
||||||
id 'org.spongepowered.mixin' version '0.7.+'
|
id 'org.spongepowered.mixin' version '0.7.+'
|
||||||
}
|
}
|
||||||
|
|
||||||
version = '1.0'
|
version = '0.0.4-SNAPSHOT'
|
||||||
group = 'com.Atsushio.target'
|
group = 'com.Atsushio.target'
|
||||||
archivesBaseName = 'target'
|
archivesBaseName = 'target'
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,9 @@ public class GunsTool {
|
||||||
}
|
}
|
||||||
var path = id.getPath();
|
var path = id.getPath();
|
||||||
gunsData.put(path.substring(5, path.length() - 5), map);
|
gunsData.put(path.substring(5, path.length() - 5), map);
|
||||||
|
|
||||||
|
reader.endObject();
|
||||||
|
reader.close();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue