mirror of
https://github.com/godotengine/godot.git
synced 2025-04-13 01:00:35 +08:00
Fix initialization of the GodotPayment plugin
The `onGLRegisterPluginWithGodotNative()` method is supposed to be invoked only by `Godot`.
This commit is contained in:
parent
6b3798ecb3
commit
7aa1c3e490
@ -55,7 +55,6 @@ public class GodotPayment extends GodotPlugin implements GodotPaymentInterface {
|
||||
|
||||
public GodotPayment(Godot godot) {
|
||||
super(godot);
|
||||
onGLRegisterPluginWithGodotNative();
|
||||
mPaymentManager = godot.getPaymentsManager();
|
||||
mPaymentManager.setBaseSingleton(this);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user