Update book conversion error logging

This commit is contained in:
Nassim Jahnke 2024-01-29 17:33:08 +01:00
parent de21548a8e
commit 8fc82cd331
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

@ -193,9 +193,7 @@ public final class BlockItemPacketRewriter1_20_3 extends ItemRewriter<Clientboun
final JsonElement updatedComponent = ComponentUtil.convertJson(stringTag.getValue(), ComponentUtil.SerializerVersion.V1_20_3, ComponentUtil.SerializerVersion.V1_19_4); final JsonElement updatedComponent = ComponentUtil.convertJson(stringTag.getValue(), ComponentUtil.SerializerVersion.V1_20_3, ComponentUtil.SerializerVersion.V1_19_4);
stringTag.setValue(updatedComponent.toString()); stringTag.setValue(updatedComponent.toString());
} catch (final Exception e) { } catch (final Exception e) {
if (Via.getManager().isDebug()) { Via.getManager().debugHandler().error("Error converting book", e);
e.printStackTrace();
}
} }
} }
} }