diff --git a/SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/menuStates/UiStateManager.java b/SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/menuStates/UiStateManager.java index 78d0368..6684155 100644 --- a/SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/menuStates/UiStateManager.java +++ b/SuperiorPlugin/src/main/java/com/scrappers/superiorExtendedEngine/menuStates/UiStateManager.java @@ -82,7 +82,7 @@ public boolean detachUiManager(){ * @return a view fetched from that layout resource xml file. * @see UiStateManager#attachUiState(View). */ - public View fromXML(@LayoutRes int resId, Context context){ + public static View fromXML(@LayoutRes int resId, Context context){ return LayoutInflater.from(context).inflate(resId, null); } /**