Class PrefixHelper

java.lang.Object
studio.magemonkey.codex.api.items.PrefixHelper

public class PrefixHelper extends Object
  • Constructor Details

    • PrefixHelper

      public PrefixHelper()
  • Method Details

    • stripPrefix

      public static String stripPrefix(String prefix, String id)
      Removes the given prefix from the provided id, if applicable.
      Parameters:
      prefix - the provider prefix to remove
      id - the item id, prefixed or not
      Returns:
      the stripped id