summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew <pugmatt@gmail.com>2021-01-23 15:00:05 -0500
committerMatthew <pugmatt@gmail.com>2021-01-23 15:00:05 -0500
commit3aa8420f82600877e3be85ff0b1eac08b30553cf (patch)
tree5a5ac84c4588a84e8ef3e8f2399231f3ffeb6ac2
parentd9a207735af2bdbde26600346402c6ce9af53ce3 (diff)
downloadBedrockConnect-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.java6
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; }