From 61bd545e574d58e9b537b4e866cae1cb87a31bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Garc=C3=ADa?= Date: Wed, 26 Jun 2024 00:32:30 +0200 Subject: [PATCH] Fix compile error --- adventure-editor/src/main/resources/versions.properties | 2 +- blade-engine/src/com/bladecoder/engine/ink/InkManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adventure-editor/src/main/resources/versions.properties b/adventure-editor/src/main/resources/versions.properties index 40d34b61..716b1d35 100644 --- a/adventure-editor/src/main/resources/versions.properties +++ b/adventure-editor/src/main/resources/versions.properties @@ -1,6 +1,6 @@ androidAPILevel=33 androidGradlePluginVersion=8.1.0 -bladeInkVersion=1.1.2 +bladeInkVersion=1.2.0 libgdxVersion=1.12.1 roboVMVersion=2.3.21 version=4.3.1 diff --git a/blade-engine/src/com/bladecoder/engine/ink/InkManager.java b/blade-engine/src/com/bladecoder/engine/ink/InkManager.java index 74ecb8aa..5f67194f 100644 --- a/blade-engine/src/com/bladecoder/engine/ink/InkManager.java +++ b/blade-engine/src/com/bladecoder/engine/ink/InkManager.java @@ -166,7 +166,7 @@ public boolean compareVariable(String name, String value) { waitIfNotLoaded(); if (story.getVariablesState().get(name) instanceof InkList) { - return ((InkList) story.getVariablesState().get(name)).ContainsItemNamed(value); + return ((InkList) story.getVariablesState().get(name)).containsItemNamed(value); } else { return story.getVariablesState().get(name).toString().equals(value == null ? "" : value); }