Skip to content

Commit 2091899

Browse files
committed
JavaClassWrapper: Fix mistake in last fix for org.godotengine.godot.Dictionary conversion
1 parent 87f897a commit 2091899

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform/android/java_class_wrapper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ bool JavaClass::_convert_object_to_variant(JNIEnv *env, jobject obj, Variant &va
10781078

10791079
if (java_class_wrapped.is_valid()) {
10801080
String cn = java_class_wrapped->get_java_class_name();
1081-
if (cn == "org/godotengine/godot/Dictionary" || cn == "java.util.HashMap") {
1081+
if (cn == "org.godotengine.godot.Dictionary" || cn == "java.util.HashMap") {
10821082
var = _jobject_to_variant(env, obj);
10831083
} else {
10841084
Ref<JavaObject> ret = Ref<JavaObject>(memnew(JavaObject(java_class_wrapped, obj)));
@@ -1442,7 +1442,7 @@ bool JavaClass::_convert_object_to_variant(JNIEnv *env, jobject obj, Variant &va
14421442

14431443
if (java_class_wrapped.is_valid()) {
14441444
String cn = java_class_wrapped->get_java_class_name();
1445-
if (cn == "org/godotengine/godot/Dictionary" || cn == "java.util.HashMap") {
1445+
if (cn == "org.godotengine.godot.Dictionary" || cn == "java.util.HashMap") {
14461446
ret[i] = _jobject_to_variant(env, obj);
14471447
} else {
14481448
Ref<JavaObject> java_obj_wrapped = Ref<JavaObject>(memnew(JavaObject(java_class_wrapped, obj)));

0 commit comments

Comments
 (0)