summaryrefslogtreecommitdiff
path: root/platform/android/java/plugins/godotpayment
diff options
context:
space:
mode:
authorfhuya <fhuya@google.com>2020-03-09 10:32:23 +0100
committerfhuya <fhuya@google.com>2020-03-09 10:32:23 +0100
commit7aa1c3e490375b9fe6b6187c33c0925a7354be97 (patch)
tree4d4b294e6c02ee4f6b7a7cea68b14013b0a1898d /platform/android/java/plugins/godotpayment
parent6b3798ecb3a27535ed965f3604f5481a6515b455 (diff)
Fix initialization of the GodotPayment plugin
The `onGLRegisterPluginWithGodotNative()` method is supposed to be invoked only by `Godot`.
Diffstat (limited to 'platform/android/java/plugins/godotpayment')
-rw-r--r--platform/android/java/plugins/godotpayment/src/main/java/org/godotengine/godot/plugin/payment/GodotPayment.java1
1 files changed, 0 insertions, 1 deletions
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);
}