From 9a3952f2a17a94ff98494856b1ed9754d7b6ead6 Mon Sep 17 00:00:00 2001 From: SHsuperCM Date: Fri, 18 Feb 2022 08:31:18 +0200 Subject: Fixed ambiguous conditions list for type loading --- src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITType.java | 2 +- src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/shcm') diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITType.java b/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITType.java index aed784a..468c1cb 100644 --- a/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITType.java +++ b/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITType.java @@ -13,7 +13,7 @@ import java.util.*; public abstract class CITType { public abstract Set typeProperties(); - public abstract void load(List conditions, PropertyGroup properties, ResourceManager resourceManager) throws CITParsingException; + public abstract void load(List conditions, PropertyGroup properties, ResourceManager resourceManager) throws CITParsingException; protected void warn(String message, PropertyValue value, PropertyGroup properties) { CITResewn.logWarnLoading("Warning: " + CITParsingException.descriptionOf(message, properties, value.position())); diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java index 4c5b116..163435b 100644 --- a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java +++ b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java @@ -80,7 +80,7 @@ public class PackParser { public static CIT parseCIT(PropertyGroup properties, ResourceManager resourceManager) throws CITParsingException { CITType citType = CITRegistry.parseType(properties); - ArrayList conditions = new ArrayList<>(); + List conditions = new ArrayList<>(); Set ignoredProperties = citType.typeProperties(); -- cgit