maptool icon indicating copy to clipboard operation
maptool copied to clipboard

[Bug][1.12.0 beta]: data.* function namespaces are incorrectly case sensitive

Open Pmofmalasia opened this issue 3 years ago • 0 comments

Describe the Bug

When using the new data.* functions, the namespace key is case sensitive when in should not be - they are stored in all lowercase, so using any caps in the function will not work.

To Reproduce

  1. Make an addon
  2. Try to call it using a data.* function, but use caps in its namespace
  3. It doesn't work.

Expected Behaviour

For the namespace to not be case sensitive.

Screenshots

No response

MapTool Info

1.12.0 beta

Desktop

Windows 10

Additional Context

No response

Pmofmalasia avatar Aug 10 '22 02:08 Pmofmalasia