Closed BaKYCoder closed 9 months ago
Replace the display text of the sendSystemMessage method with displayClientMessage.
sendSystemMessage
displayClientMessage
Example:
if (level.dimension() != Level.OVERWORLD) { player.sendSystemMessage(Component.translatable("magical_returner.teleport_for_overworld")); stopUsingItemWithCooldown(player); return; }
if (level.dimension() != Level.OVERWORLD) { player.displayClientMessage(Component.translatable("magical_returner.teleport_for_overworld"), false); stopUsingItemWithCooldown(player); return; }
Resolved in commit: 6be9aae.
Replace the display text of the
sendSystemMessage
method withdisplayClientMessage
.Example: