Skip to content

Commit

Permalink
Merge branch 'dev/patch' into fix-leather-horse-armor-unequipable
Browse files Browse the repository at this point in the history
  • Loading branch information
sovdeeth authored Oct 31, 2024
2 parents d1c3d5f + 8c91cc8 commit 7104030
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public boolean canCreateWith(Node node) {
if (key == null)
return false;
key = ScriptLoader.replaceOptions(key);
return key.startsWith(getKey() + getSeparator());
String prefix = getKey() + getSeparator();
return key.regionMatches(true, 0, prefix, 0, prefix.length());
}

}

0 comments on commit 7104030

Please sign in to comment.