Merge pull request #1417 from Abextm/fix-widget-mask-get

Rename setClickMask()I > getClickMask()I
This commit is contained in:
Tomas Slusny
2018-04-12 14:44:55 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ public interface Widget
void setContentType(int contentType);
int setClickMask();
int getClickMask();
void setClickMask(int mask);

View File

@@ -386,7 +386,7 @@ public class ReorderPrayersPlugin extends Plugin
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

View File

@@ -44,7 +44,7 @@ public interface RSWidget extends Widget
int getRSParentId();
@Import("clickMask")
int setClickMask();
int getClickMask();
@Import("clickMask")
void setClickMask(int mask);