aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/location/RiftHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/location/RiftHandler.java')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/location/RiftHandler.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/location/RiftHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/location/RiftHandler.java
index dfd225e..5ae1407 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/location/RiftHandler.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/location/RiftHandler.java
@@ -4,10 +4,11 @@ import net.minecraftforge.client.event.ClientChatReceivedEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
public class RiftHandler {
+ public static boolean isInRift = false;
+
@SubscribeEvent
public void onActionBar(ClientChatReceivedEvent event) {
if (event.type != 2) return;
- // §741m30sф Left §b160/160✎ Mana
+ isInRift = event.message.getUnformattedText().contains("ф Left");
}
-
}