You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Fix initialization of the GodotPayment plugin
The `onGLRegisterPluginWithGodotNative()` method is supposed to be invoked only by `Godot`.
This commit is contained in:
@@ -55,7 +55,6 @@ public class GodotPayment extends GodotPlugin implements GodotPaymentInterface {
|
|||||||
|
|
||||||
public GodotPayment(Godot godot) {
|
public GodotPayment(Godot godot) {
|
||||||
super(godot);
|
super(godot);
|
||||||
onGLRegisterPluginWithGodotNative();
|
|
||||||
mPaymentManager = godot.getPaymentsManager();
|
mPaymentManager = godot.getPaymentsManager();
|
||||||
mPaymentManager.setBaseSingleton(this);
|
mPaymentManager.setBaseSingleton(this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user