Skip to content

Commit

Permalink
Add warning when vanilla player connects to blabber server
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Oct 30, 2023
1 parent 9b8dcbf commit 580eaf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ public static void init() {
if (ServerConfigurationNetworking.canSend(handler, DialogueListPacket.TYPE)) {
Set<Identifier> dialogueIds = DialogueRegistry.getIds();
ServerConfigurationNetworking.send(handler, new DialogueListPacket(dialogueIds));
} else {
Blabber.LOGGER.warn("{} does not have Blabber installed, this will cause issues if they trigger a dialogue", handler.getDebugProfile().getName());
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
3) codecs give terrible error messages,
and 4) codecs are inefficient in networking,
going back to old-time stuff seemed best.
(still using codecs to a degree, but validation is done separately now)
*/

public final class DialogueRegistry {
Expand Down

0 comments on commit 580eaf0

Please sign in to comment.