Skip to content
Permalink
Browse files

special opti: properties that don't have mechanisms don't belong in t…

…he property string
  • Loading branch information...
mcmonkey4eva committed Feb 6, 2019
1 parent 8c006b6 commit 69cd674914a6786a8034cfbc8e99cd26708b1e2a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/net/aufdemrand/denizencore/objects/properties/PropertyParser.java
@@ -94,8 +94,8 @@ public static String getPropertiesString(dObject object) {
if (properties == null) {
return "";
}
StringBuilder prop_string = new StringBuilder(properties.allProperties.size() * 10);
for (PropertyGetter getter : properties.allProperties) {
StringBuilder prop_string = new StringBuilder(properties.propertiesAnyMechs.size() * 10);
for (PropertyGetter getter : properties.propertiesAnyMechs) {
Property property = getter.get(object);
if (property != null) {
String description = property.getPropertyString();

0 comments on commit 69cd674

Please sign in to comment.
You can’t perform that action at this time.