Describe the bug
The jsonPlaceHolder placeholder for text does not validate URLs correctly. Instead of showing the response from the URL, it only shows the variable code ({"placeholder":"json","values":{"json_path":"$.KEY","source":"URL"}}). However, when the if else statement as shown below is removed and the cachedPlaceHolders.put() method is run, it is able to retrieve data from the URL successfully. The issue stems not from FancyMenu, but Konkrete library, specifically WebUtils.class and method isValidUrl.
To Reproduce
Steps to reproduce the behavior (e.g.):
Describe the bug The jsonPlaceHolder placeholder for text does not validate URLs correctly. Instead of showing the response from the URL, it only shows the variable code ({"placeholder":"json","values":{"json_path":"$.KEY","source":"URL"}}). However, when the if else statement as shown below is removed and the cachedPlaceHolders.put() method is run, it is able to retrieve data from the URL successfully. The issue stems not from FancyMenu, but Konkrete library, specifically WebUtils.class and method isValidUrl.
To Reproduce Steps to reproduce the behavior (e.g.):
Expected behavior The URL should be validated and data is retrieved.
Game Log Only relevant logs are below.
Screenshots If screenshots would help to explain the issue, please include these.
Basic Informations (please complete the following information):