Skip to content

Commit

Permalink
Fix ItemType detection for depending plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Sentropic committed Jun 29, 2024
1 parent 04b4b7c commit 7796e6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public Category getCategory() {
public DivinityItemType getItem(String id) {
if (id == null || id.isBlank()) return null;

id = CodexItemManager.stripPrefix(NAMESPACE, id).replaceAll("[ -]", "_");
id = CodexItemManager.stripPrefix(NAMESPACE, id);

String[] split = id.split(":", 2);
if (split.length == 2) { // Module name
Expand Down

0 comments on commit 7796e6c

Please sign in to comment.