From 7aa1c3e490375b9fe6b6187c33c0925a7354be97 Mon Sep 17 00:00:00 2001 From: fhuya Date: Mon, 9 Mar 2020 10:32:23 +0100 Subject: Fix initialization of the GodotPayment plugin The `onGLRegisterPluginWithGodotNative()` method is supposed to be invoked only by `Godot`. --- .../src/main/java/org/godotengine/godot/plugin/payment/GodotPayment.java | 1 - 1 file changed, 1 deletion(-) (limited to 'platform/android/java/plugins') diff --git a/platform/android/java/plugins/godotpayment/src/main/java/org/godotengine/godot/plugin/payment/GodotPayment.java b/platform/android/java/plugins/godotpayment/src/main/java/org/godotengine/godot/plugin/payment/GodotPayment.java index 6317de9a6e..4a6b611c4d 100644 --- a/platform/android/java/plugins/godotpayment/src/main/java/org/godotengine/godot/plugin/payment/GodotPayment.java +++ b/platform/android/java/plugins/godotpayment/src/main/java/org/godotengine/godot/plugin/payment/GodotPayment.java @@ -55,7 +55,6 @@ public class GodotPayment extends GodotPlugin implements GodotPaymentInterface { public GodotPayment(Godot godot) { super(godot); - onGLRegisterPluginWithGodotNative(); mPaymentManager = godot.getPaymentsManager(); mPaymentManager.setBaseSingleton(this); } -- cgit v1.2.3