diff --git a/src/main/java/WayofTime/bloodmagic/block/property/PropertyString.java b/src/main/java/WayofTime/bloodmagic/block/property/PropertyString.java index 22e121ee..74cec31b 100644 --- a/src/main/java/WayofTime/bloodmagic/block/property/PropertyString.java +++ b/src/main/java/WayofTime/bloodmagic/block/property/PropertyString.java @@ -8,9 +8,9 @@ import java.util.Arrays; import java.util.Collection; import java.util.HashSet; -public class PropertyString extends PropertyHelper +public class PropertyString extends PropertyHelper { - private final ImmutableSet allowedValues; + private final ImmutableSet allowedValues; protected PropertyString(String name, String[] values) { @@ -27,7 +27,7 @@ public class PropertyString extends PropertyHelper } @Override - public Collection getAllowedValues() + public Collection getAllowedValues() { return allowedValues; } @@ -38,8 +38,8 @@ public class PropertyString extends PropertyHelper } @Override - public String getName(Comparable value) + public String getName(String value) { - return this.getName0(value.toString()); + return this.getName0(value); } }