diff --git a/src/main/java/com/cleanroommc/groovyscript/mapper/ObjectMapper.java b/src/main/java/com/cleanroommc/groovyscript/mapper/ObjectMapper.java index b6ec278d9..5f0d1c557 100644 --- a/src/main/java/com/cleanroommc/groovyscript/mapper/ObjectMapper.java +++ b/src/main/java/com/cleanroommc/groovyscript/mapper/ObjectMapper.java @@ -81,7 +81,7 @@ T invoke(String s, Object... args) { t = this.defaultValue.get(); return t == null || t.hasError() ? null : t.getValue(); } - return Objects.requireNonNull(t.getValue(), "Object napper result must contain a non-null value!"); + return Objects.requireNonNull(t.getValue(), "Object mapper result must contain a non-null value!"); } T invokeDefault() {