File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
java/llc/redstone/hysentials/guis/hsplayerlist
kotlin/llc/redstone/hysentials/schema Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ org.gradle.jvmargs=-Xmx8G
66
77mod_name = Hysentials
88mod_id = hysentials
9- mod_version = 1.3.2-beta2
10- dev_version = 1.3.0 -dev
9+ mod_version = 1.3.5-beta1
10+ dev_version = 1.3.5 -dev
1111
12- dev = true
12+ dev = false
1313
1414loom.platform = forge
Original file line number Diff line number Diff line change @@ -134,14 +134,13 @@ public void renderPlayerlist(int width) {
134134 if (t < list .size ()) {
135135 HysentialsSchema .User user = list .get (t );
136136 String string2 = BlockWAPIUtils .getDisplayName (user );
137- if (bl ) {
137+ if (bl && user . getSkin () != null && ! user . getSkin (). isEmpty () ) {
138138 byte [] bytes = Base64 .getDecoder ().decode (user .getSkin ());
139139 try {
140140 BufferedImage image = ImageIO .read (new ByteArrayInputStream (bytes ));
141141 DynamicTexture dynamicTexture = new DynamicTexture (image );
142142 dynamicTexture .updateDynamicTexture ();
143143 } catch (IOException e ) {
144- throw new RuntimeException (e );
145144 }
146145
147146 int x = 8 ;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class HysentialsSchema {
4141 var quests : MutableSet <Quest >? ,
4242 var amountSpent : Int? ,
4343 var hypixel : JsonObject ,
44- var skin : String ,
44+ var skin : String? ,
4545 ) {
4646 companion object {
4747 fun deserialize (obj : JsonObject ): User {
You can’t perform that action at this time.
0 commit comments