1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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);
}