Skip to content

Commit

Permalink
minor mechanism opti
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 4, 2021
1 parent bb1304c commit eb1e0fd
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -202,6 +202,9 @@ public static ObjectTag fixType(ObjectTag input, TagContext context) {
}

public static void autoPropertyMechanism(ObjectTag object, Mechanism mechanism) {
if (mechanism.fulfilled()) {
return;
}
PropertyParser.ClassPropertiesInfo properties = PropertyParser.propertiesByClass.get(object.getObjectTagClass());
if (properties == null) {
return;
Expand Down

0 comments on commit eb1e0fd

Please sign in to comment.