aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2022-02-20 10:52:50 +0200
committerSHsuperCM <shsupercm@gmail.com>2022-02-20 10:52:50 +0200
commit93efe2624458a66da06d7edc572924be1c8c7168 (patch)
treef488643c1bf5af3b741a34b02e7c2671c1ae7199 /src/main/java
parent6c8d3aed55abb448422287c1718f4f3d90ec68a9 (diff)
downloadCITResewn-93efe2624458a66da06d7edc572924be1c8c7168.tar.gz
CITResewn-93efe2624458a66da06d7edc572924be1c8c7168.tar.bz2
CITResewn-93efe2624458a66da06d7edc572924be1c8c7168.zip
Ported elytra type
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITType.java2
1 files changed, 1 insertions, 1 deletions
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 468c1cb..c3bb134 100644
--- a/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITType.java
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/cit/CITType.java
@@ -16,7 +16,7 @@ public abstract class CITType {
public abstract void load(List<CITCondition> 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()));
+ CITResewn.logWarnLoading("Warning: " + CITParsingException.descriptionOf(message, properties, value == null ? -1 : value.position()));
}
/**