diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-02-28 02:07:47 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-02-28 02:07:47 +0800 |
| commit | 69d386214f5d3471a3ef1e5533037cdc32648c57 (patch) | |
| tree | a78d97ca416909ce68c3e5c11e1a1412e6fc174e /api/src/main/java/me | |
| parent | 542eb5154ebce387312ca3691f743b89e4aef99e (diff) | |
| download | RoughlyEnoughItems-69d386214f5d3471a3ef1e5533037cdc32648c57.tar.gz RoughlyEnoughItems-69d386214f5d3471a3ef1e5533037cdc32648c57.tar.bz2 RoughlyEnoughItems-69d386214f5d3471a3ef1e5533037cdc32648c57.zip | |
Port to Architectury Multiloader
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'api/src/main/java/me')
| -rw-r--r-- | api/src/main/java/me/shedaniel/rei/api/gui/widgets/Tooltip.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/main/java/me/shedaniel/rei/api/gui/widgets/Tooltip.java b/api/src/main/java/me/shedaniel/rei/api/gui/widgets/Tooltip.java index 075e57580..972df5a43 100644 --- a/api/src/main/java/me/shedaniel/rei/api/gui/widgets/Tooltip.java +++ b/api/src/main/java/me/shedaniel/rei/api/gui/widgets/Tooltip.java @@ -23,8 +23,8 @@ package me.shedaniel.rei.api.gui.widgets; +import me.shedaniel.architectury.utils.EnvExecutor; import me.shedaniel.math.Point; -import me.shedaniel.math.api.Executor; import me.shedaniel.rei.api.REIHelper; import me.shedaniel.rei.impl.Internals; import net.fabricmc.api.EnvType; @@ -64,6 +64,6 @@ public interface Tooltip { List<Component> getText(); default void queue() { - Executor.runIfEnv(EnvType.CLIENT, () -> () -> REIHelper.getInstance().queueTooltip(this)); + EnvExecutor.runInEnv(EnvType.CLIENT, () -> () -> REIHelper.getInstance().queueTooltip(this)); } } |
