aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/widgets/Slot.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/widgets/Slot.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/widgets/Slot.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/widgets/Slot.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/widgets/Slot.java b/src/main/java/me/shedaniel/rei/api/widgets/Slot.java
index adbd0c49a..63194c0ed 100644
--- a/src/main/java/me/shedaniel/rei/api/widgets/Slot.java
+++ b/src/main/java/me/shedaniel/rei/api/widgets/Slot.java
@@ -25,7 +25,6 @@ package me.shedaniel.rei.api.widgets;
import me.shedaniel.math.Point;
import me.shedaniel.rei.api.EntryStack;
-import me.shedaniel.rei.gui.widget.QueuedTooltip;
import me.shedaniel.rei.gui.widget.WidgetWithBounds;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -153,17 +152,8 @@ public abstract class Slot extends WidgetWithBounds {
@NotNull
public abstract List<EntryStack> getEntries();
- /**
- * @deprecated use {@link #getCurrentTooltip(Point)}
- */
- @Nullable
- @Deprecated
- public QueuedTooltip getCurrentTooltip(int mouseX, int mouseY) {
- return null;
- }
-
@Nullable
public Tooltip getCurrentTooltip(Point point) {
- return getCurrentTooltip(point.x, point.y);
+ return null;
}
}