mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-25 12:45:35 +01:00
Update book conversion error logging
This commit is contained in:
parent
de21548a8e
commit
8fc82cd331
@ -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();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user