aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/shcm/shsupercm
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/shcm/shsupercm')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITCondition.java2
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITCondition.java b/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITCondition.java
index 03f118f..b5c1996 100644
--- a/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITCondition.java
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITCondition.java
@@ -15,7 +15,7 @@ public abstract class CITCondition {
return Collections.emptySet();
}
- public <T extends CITCondition> T modifySibling(Class<? extends CITCondition> siblingType, T sibling) {
+ public <T extends CITCondition> T modifySibling(T sibling) {
return sibling;
}
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 5f5a5c9..303217c 100644
--- a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java
@@ -99,7 +99,7 @@ public class PackParser {
for (Class<? extends CITCondition> siblingConditionType : condition.siblingConditions())
conditions.replaceAll(
siblingCondition -> siblingConditionType == siblingCondition.getClass() ?
- condition.modifySibling(siblingConditionType, siblingCondition) :
+ condition.modifySibling(siblingCondition) :
siblingCondition);
WeightCondition weight = new WeightCondition();