aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/BaseBoundsHandler.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-03-19 04:22:55 +0800
committershedaniel <daniel@shedaniel.me>2020-03-19 04:22:55 +0800
commit1764648e4f536b2e6ac1b7d1cb3c3fb60e206b29 (patch)
treedec596bfe19105554b2c8a9b3045f0431f495fa3 /src/main/java/me/shedaniel/rei/api/BaseBoundsHandler.java
parentaadcd2bc3a457ed0dfc03ad7be5ea9a3500c27c4 (diff)
downloadRoughlyEnoughItems-1764648e4f536b2e6ac1b7d1cb3c3fb60e206b29.tar.gz
RoughlyEnoughItems-1764648e4f536b2e6ac1b7d1cb3c3fb60e206b29.tar.bz2
RoughlyEnoughItems-1764648e4f536b2e6ac1b7d1cb3c3fb60e206b29.zip
remove old Rectangle
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/BaseBoundsHandler.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/BaseBoundsHandler.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/BaseBoundsHandler.java b/src/main/java/me/shedaniel/rei/api/BaseBoundsHandler.java
index e44e7dd9e..7ba78120b 100644
--- a/src/main/java/me/shedaniel/rei/api/BaseBoundsHandler.java
+++ b/src/main/java/me/shedaniel/rei/api/BaseBoundsHandler.java
@@ -23,7 +23,8 @@
package me.shedaniel.rei.api;
-import me.shedaniel.math.api.Rectangle;
+import me.shedaniel.math.Rectangle;
+import me.shedaniel.rei.impl.DisplayHelperImpl;
import net.minecraft.client.gui.screen.Screen;
import java.util.List;
@@ -31,9 +32,8 @@ import java.util.function.Supplier;
public interface BaseBoundsHandler extends DisplayHelper.DisplayBoundsHandler<Screen> {
- @SuppressWarnings("deprecation")
static BaseBoundsHandler getInstance() {
- return DisplayHelper.getInstance().getBaseBoundsHandler();
+ return ((DisplayHelperImpl) DisplayHelper.getInstance()).getBaseBoundsHandler();
}
/**