Browse Source

Fix initialization of the GodotPayment plugin

The `onGLRegisterPluginWithGodotNative()` method is supposed to be invoked only by `Godot`.
fhuya 5 years ago
parent
commit
7aa1c3e490

+ 0 - 1
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);
 	}