4444import net .wurstclient .hacks .ClickGuiHack ;
4545import net .wurstclient .hacks .NavigatorHack ;
4646import net .wurstclient .hacks .TooManyHaxHack ;
47+ import net .wurstclient .hacks .XpGuiHack ;
4748import net .wurstclient .keybinds .Keybind ;
4849import net .wurstclient .keybinds .PossibleKeybind ;
4950import net .wurstclient .other_feature .OtherFeature ;
@@ -2054,7 +2055,7 @@ private List<Feature> getFilteredFeatures()
20542055 for (Hack hack : WurstClient .INSTANCE .getHax ().getAllHax ())
20552056 {
20562057 if (hack instanceof ClickGuiHack || hack instanceof NavigatorHack
2057- || hack instanceof AltGuiHack )
2058+ || hack instanceof AltGuiHack || hack instanceof XpGuiHack )
20582059 continue ;
20592060 if (hack == WurstClient .INSTANCE .getHax ().globalToggleHack )
20602061 continue ;
@@ -2230,7 +2231,7 @@ private List<DisplayEntry> getEnabledCategoryEntries()
22302231 for (Hack hack : WurstClient .INSTANCE .getHax ().getAllHax ())
22312232 {
22322233 if (hack instanceof ClickGuiHack || hack instanceof NavigatorHack
2233- || hack instanceof AltGuiHack )
2234+ || hack instanceof AltGuiHack || hack instanceof XpGuiHack )
22342235 continue ;
22352236 if (isHiddenByTooManyHax (hack ))
22362237 continue ;
@@ -2288,6 +2289,7 @@ private List<Feature> getClientSettingsFeatures()
22882289 features .add (WurstClient .INSTANCE .getHax ().navigatorHack );
22892290 features .add (WurstClient .INSTANCE .getHax ().clickGuiHack );
22902291 features .add (WurstClient .INSTANCE .getHax ().altGuiHack );
2292+ features .add (WurstClient .INSTANCE .getHax ().xpGuiHack );
22912293 return features ;
22922294 }
22932295
@@ -2636,7 +2638,8 @@ private boolean featureHasStatePill(Feature feature)
26362638 if (isMenuOnlyFeature (feature ))
26372639 return false ;
26382640
2639- if (feature instanceof ClickGuiHack || feature instanceof AltGuiHack )
2641+ if (feature instanceof ClickGuiHack || feature instanceof AltGuiHack
2642+ || feature instanceof XpGuiHack )
26402643 return false ;
26412644
26422645 String action = feature .getPrimaryAction ();
@@ -2662,7 +2665,8 @@ private boolean isMenuOnlyFeature(Feature feature)
26622665 || name .equalsIgnoreCase ("WurstOptions" )
26632666 || name .equalsIgnoreCase ("WurstLogo" )
26642667 || name .equalsIgnoreCase ("ClickGUI" )
2665- || name .equalsIgnoreCase ("AltGUI" ));
2668+ || name .equalsIgnoreCase ("AltGUI" )
2669+ || name .equalsIgnoreCase ("XPGUI" ));
26662670 }
26672671
26682672 private boolean isHiddenByTooManyHax (Feature feature )
0 commit comments