Class PrefixHelper
java.lang.Object
studio.magemonkey.codex.api.items.PrefixHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringstripPrefix(String prefix, String id) Removes the given prefix from the provided id, if applicable.
-
Constructor Details
-
PrefixHelper
public PrefixHelper()
-
-
Method Details
-
stripPrefix
Removes the given prefix from the provided id, if applicable.- Parameters:
prefix- the provider prefix to removeid- the item id, prefixed or not- Returns:
- the stripped id
-