Fixed bug with unloaded plugins
This commit is contained in:
@@ -36,6 +36,15 @@ public final class Items {
|
||||
REGISTRY.put(key, part);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove an item.
|
||||
*
|
||||
* @param key The key of the recipe part.
|
||||
*/
|
||||
public void removeCustomItem(@NotNull final NamespacedKey key) {
|
||||
REGISTRY.remove(key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Lookup item from string.
|
||||
* <p>
|
||||
|
||||
Reference in New Issue
Block a user