File tree Expand file tree Collapse file tree
api/src/main/java/kr/toxicity/libraries/datacomponent/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,16 +33,11 @@ default void deserialize(@NotNull JsonObject object) {
3333 }
3434 });
3535 }
36- default @ NotNull JsonObject serialize () {
36+ default @ NotNull JsonObject serialize () throws IllegalStateException {
3737 var result = new JsonObject ();
3838 DataComponentType .registry ().values ().forEach (r -> {
39- try {
40- var get = getToJson (r );
41- if (get != null ) result .add (r .key (), get );
42- } catch (Exception e ) {
43- System .out .println (r .key ());
44- e .printStackTrace ();
45- }
39+ var get = getToJson (r );
40+ if (get != null ) result .add (r .key (), get );
4641 });
4742 return result ;
4843 }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ allprojects {
1111 apply (plugin = " java" )
1212
1313 group = " kr.toxicity.libraries.datacomponent"
14- version = " 1.0.0 "
14+ version = " 1.0.1 "
1515
1616 repositories {
1717 mavenCentral()
You can’t perform that action at this time.
0 commit comments