fix(weaver-pojo-attributes-ext)!: Rename values to value for more consistency
This commit is contained in:
@@ -20,9 +20,9 @@ public class TweedCoatBridgeTestModConfig {
|
||||
@Validator(value = WeavableNumberRangeValidator.class, config = "-10=..=10")
|
||||
private int integerInRange = -5;
|
||||
|
||||
@Attribute(key = TweedCoatAttributes.BACKGROUND_TEXTURE, values = "textures/block/green_terracotta.png")
|
||||
@Attribute(key = TweedCoatAttributes.BACKGROUND_TEXTURE, value = "textures/block/green_terracotta.png")
|
||||
private Greeting serverGreeting = new Greeting("Hello server!", "Server");
|
||||
@Attribute(key = TweedCoatAttributes.BACKGROUND_TEXTURE, values = "textures/block/red_terracotta.png")
|
||||
@Attribute(key = TweedCoatAttributes.BACKGROUND_TEXTURE, value = "textures/block/red_terracotta.png")
|
||||
private Greeting clientGreeting = new Greeting("Hello client!", "Client");
|
||||
|
||||
@CompoundWeaving
|
||||
|
||||
@@ -13,7 +13,7 @@ import lombok.Data;
|
||||
@Data
|
||||
public class TestModConfig {
|
||||
private String helloStart = "Minecraft";
|
||||
@Attribute(key = "scope", values = "game")
|
||||
@Attribute(key = "scope", value = "game")
|
||||
private String helloInGame = "Game";
|
||||
private String helloEnd = "!";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user