diff options
| author | Matthew <pugmatt@gmail.com> | 2021-01-23 15:00:05 -0500 |
|---|---|---|
| committer | Matthew <pugmatt@gmail.com> | 2021-01-23 15:00:05 -0500 |
| commit | 3aa8420f82600877e3be85ff0b1eac08b30553cf (patch) | |
| tree | 5a5ac84c4588a84e8ef3e8f2399231f3ffeb6ac2 | |
| parent | d9a207735af2bdbde26600346402c6ce9af53ce3 (diff) | |
| download | BedrockConnect-3aa8420f82600877e3be85ff0b1eac08b30553cf.tar.gz BedrockConnect-3aa8420f82600877e3be85ff0b1eac08b30553cf.tar.bz2 BedrockConnect-3aa8420f82600877e3be85ff0b1eac08b30553cf.zip | |
Add notice on how to retrigger popup
| -rw-r--r-- | serverlist-server/src/main/com/pyratron/pugmatt/bedrockconnect/BCPlayer.java | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |
