diff --git a/spine-godot/spine_godot/SpineEditorPlugin.h b/spine-godot/spine_godot/SpineEditorPlugin.h index 54a2592f7..56e7510b0 100644 --- a/spine-godot/spine_godot/SpineEditorPlugin.h +++ b/spine-godot/spine_godot/SpineEditorPlugin.h @@ -290,11 +290,14 @@ public: #else explicit SpineEditorPlugin(EditorNode *node); +#if VERSION_MAJOR > 3 #if VERSION_MINOR > 3 String get_plugin_name() const override { return "SpineEditorPlugin"; } #else String get_name() const override { return "SpineEditorPlugin"; } #endif +#else + String get_name() const override { return "SpineEditorPlugin"; } #endif };