From 01630b68a70f6fd0d8109116ef493951a7bca3a7 Mon Sep 17 00:00:00 2001 From: Max Weber Date: Thu, 12 Apr 2018 06:27:25 -0600 Subject: [PATCH] Rename setClickMask()I > getClickMask()I This made maven unable to do a incremental build for some reason. --- runelite-api/src/main/java/net/runelite/api/widgets/Widget.java | 2 +- .../client/plugins/reorderprayers/ReorderPrayersPlugin.java | 2 +- runescape-api/src/main/java/net/runelite/rs/api/RSWidget.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runelite-api/src/main/java/net/runelite/api/widgets/Widget.java b/runelite-api/src/main/java/net/runelite/api/widgets/Widget.java index 766f052a075..c97671b5a14 100644 --- a/runelite-api/src/main/java/net/runelite/api/widgets/Widget.java +++ b/runelite-api/src/main/java/net/runelite/api/widgets/Widget.java @@ -40,7 +40,7 @@ public interface Widget void setContentType(int contentType); - int setClickMask(); + int getClickMask(); void setClickMask(int mask); diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/reorderprayers/ReorderPrayersPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/reorderprayers/ReorderPrayersPlugin.java index 17d461f5a84..f9df2680e35 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/reorderprayers/ReorderPrayersPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/reorderprayers/ReorderPrayersPlugin.java @@ -386,7 +386,7 @@ private void reorderPrayers() Prayer prayer = prayerOrder[index]; Widget prayerWidget = prayerWidgets.get(prayer.ordinal()); - int widgetConfig = prayerWidget.setClickMask(); + int widgetConfig = prayerWidget.getClickMask(); if (config.unlockPrayerReordering()) { // allow dragging of this widget diff --git a/runescape-api/src/main/java/net/runelite/rs/api/RSWidget.java b/runescape-api/src/main/java/net/runelite/rs/api/RSWidget.java index f4bd1491bc2..a8ba84b360f 100644 --- a/runescape-api/src/main/java/net/runelite/rs/api/RSWidget.java +++ b/runescape-api/src/main/java/net/runelite/rs/api/RSWidget.java @@ -44,7 +44,7 @@ public interface RSWidget extends Widget int getRSParentId(); @Import("clickMask") - int setClickMask(); + int getClickMask(); @Import("clickMask") void setClickMask(int mask);