diff --git a/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/crafting/UserShapedRecipe.java b/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/crafting/UserShapedRecipe.java index f15333f..614e9c1 100644 --- a/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/crafting/UserShapedRecipe.java +++ b/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/crafting/UserShapedRecipe.java @@ -74,18 +74,16 @@ public class UserShapedRecipe { return shape; } - public UserShapedRecipe setShape(String[] shape) { + public void setShape(String[] shape) { this.shape = shape; - return this; } public Map getIngredientMap() { return ingredientMap; } - public UserShapedRecipe setIngredientMap(Map ingredientMap) { + public void setIngredientMap(Map ingredientMap) { this.ingredientMap = ingredientMap; - return this; } public boolean matchesRecipe(ShapedRecipe recipe){ diff --git a/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/serialize/LocationInfo.java b/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/serialize/LocationInfo.java index 0749751..50e775b 100644 --- a/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/serialize/LocationInfo.java +++ b/ChestsPlusPlus_Main/src/main/java/com/jamesdpeters/minecraft/chests/serialize/LocationInfo.java @@ -48,19 +48,16 @@ public class LocationInfo implements ConfigurationSerializable { return toolItemStand; } - public LocationInfo setBlockStand(ArmorStand blockStand) { + public void setBlockStand(ArmorStand blockStand) { this.blockStand = blockStand; - return this; } - public LocationInfo setItemStand(ArmorStand itemStand) { + public void setItemStand(ArmorStand itemStand) { this.itemStand = itemStand; - return this; } - public LocationInfo setToolItemStand(ArmorStand toolItemStand) { + public void setToolItemStand(ArmorStand toolItemStand) { this.toolItemStand = toolItemStand; - return this; } public static List convert(List locationList){