plugin.gd Error: Mixed use of tabs and spaces for indentation
TheKizzyDev opened this issue · 0 comments
TheKizzyDev commented
Describe the bug
The following lines throw an error preventing the plugin from being enabled during setup:
godot-ink/addons/GodotInk/plugin.gd
Lines 47 to 50 in 058702f
The error is:
Line 46:Mixed use of tabs and spaces for indentation
Changing those lines to the following fixes the issue. The function context is included since white-space syntax is the issue:
func _notification(what : int) -> void:
if what == NOTIFICATION_POST_ENTER_TREE:
if _importer != null:
return
get_editor_interface().set_plugin_enabled("GodotInk", false)
printerr("GodotInk could not be loaded.\n" \
+ "Make sure your .csproj file references GodotInk.props, and rebuild the solution.\n" \
+ "See the installation guide for more information: https://github.com/paulloz/godot-ink/wiki\n" \
+ "If you think this is not an issue on your end, please open a bug report: https://github.com/paulloz/godot-ink/issues/new/choose")
To Reproduce
- Run through the setup steps from the documentation: https://github.com/paulloz/godot-ink/wiki#%EF%B8%8F-installation
- Encounter the issues in step 4.
Environment
- OS: Windows 10
- Godot version: 4.1.1-mono
- godot-ink version: 1.1.0
- ink version: N/A
Additional context
Using Rider IDE 2023.2.2