Godot Engine – Multi-platform 2D and 3D game engine
Android: Fix ClassCastException in proxy hashCode when ObjectID is returned as Long
Muteem471a4a79c0e8
diff --git a/platform/android/java/lib/src/main/java/org/godotengine/godot/plugin/AndroidRuntimePlugin.kt b/platform/android/java/lib/src/main/java/org/godotengine/godot/plugin/AndroidRuntimePlugin.ktindex 0c09ea383a2..937137a72c0 100644--- a/platform/android/java/lib/src/main/java/org/godotengine/godot/plugin/AndroidRuntimePlugin.kt+++ b/platform/android/java/lib/src/main/java/org/godotengine/godot/plugin/AndroidRuntimePlugin.kt@@ -107,7 +107,7 @@ class AndroidRuntimePlugin(godot: Godot) : GodotPlugin(godot) {// and provide consistency."toString" -> "Godot Object Proxy for ${interfaces.joinToString(",")}""equals" -> proxy == args[0]- "hashCode" -> godotObjectID+ "hashCode" -> godotObjectID.hashCode()// Invocation for the remaining interface(s) methods falls here and is dispatched to the// Godot Object.