fix: Hide vanilla raid points box when inside chambers of xeric

Since commit 08c816e, the varbit change event is fired after this widget is shown and inRaidChambers is always false at that point. This would prevent the vanilla point box from being hidden.
This commit is contained in:
Kamiel
2018-05-13 21:16:55 +02:00
parent 42005ffcea
commit b9d105f5cc

View File

@@ -210,7 +210,7 @@ public class RaidsPlugin extends Plugin
@Subscribe
public void onWidgetHiddenChanged(WidgetHiddenChanged event)
{
if (!inRaidChambers || event.isHidden())
if (event.isHidden())
{
return;
}