From 3aa8420f82600877e3be85ff0b1eac08b30553cf Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 23 Jan 2021 15:00:05 -0500 Subject: Add notice on how to retrigger popup --- .../src/main/com/pyratron/pugmatt/bedrockconnect/BCPlayer.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'serverlist-server') diff --git a/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/BCPlayer.java b/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/BCPlayer.java index 53f38f0..da2d3f8 100644 --- a/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/BCPlayer.java +++ b/serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/BCPlayer.java @@ -108,6 +108,12 @@ public class BCPlayer { public void setCurrentForm(int form) { currentForm = form; + + TextPacket text = new TextPacket(); + text.setType(TextPacket.Type.TIP); + text.setMessage("If the serverlist popup appears to be gone, \nmove around to re-trigger the popup."); + text.setXuid(uuid); + session.sendPacket(text); } public boolean isActive() { return Duration.between(lastAction, LocalTime.now()).toMillis() <= 600000; } -- cgit v1.2.1