Merge pull request 'Hotbar deserialize fix' (#140) from hb_fix into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Reviewed-on: #140 Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Commit
c975685995
@ -70,7 +70,11 @@ public class DefaultHotbar {
|
||||
if (yapionAnyType instanceof YAPIONValue) {
|
||||
hotbar[integer] = null;
|
||||
} else {
|
||||
hotbar[integer] = (ItemStack) YAPIONDeserializer.deserialize((YAPIONObject) yapionAnyType);
|
||||
try {
|
||||
hotbar[integer] = YAPIONDeserializer.deserialize((YAPIONObject) yapionAnyType);
|
||||
} catch (Exception e) {
|
||||
hotbar[integer] = null;
|
||||
}
|
||||
}
|
||||
});
|
||||
return hotbar;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren