Fix initialization of the GodotPayment plugin

The `onGLRegisterPluginWithGodotNative()` method is supposed to be invoked only by `Godot`.
This commit is contained in:
fhuya 2020-03-09 10:32:23 +01:00
parent 6b3798ecb3
commit 7aa1c3e490

View file

@ -55,7 +55,6 @@ public class GodotPayment extends GodotPlugin implements GodotPaymentInterface {
public GodotPayment(Godot godot) {
super(godot);
onGLRegisterPluginWithGodotNative();
mPaymentManager = godot.getPaymentsManager();
mPaymentManager.setBaseSingleton(this);
}