Skip to content

add getMap and isMap in Config#1902

Open
SenseiTarzan wants to merge 2 commits intoCloudburstMC:masterfrom
SenseiTarzan:master
Open

add getMap and isMap in Config#1902
SenseiTarzan wants to merge 2 commits intoCloudburstMC:masterfrom
SenseiTarzan:master

Conversation

@SenseiTarzan
Copy link
Copy Markdown

as I saw that getMap and isMap don't exist I add them

@Creeperface01
Copy link
Copy Markdown
Contributor

What's the point? ConfigSection implements Map already

@SenseiTarzan
Copy link
Copy Markdown
Author

What's the point? ConfigSection implements Map already

I do not understand your but if it is that has what the function getMap it is just because there is the getListMap but notgetMap which allows him to do many things

@IAmScRay
Copy link
Copy Markdown

ConfigSection already extends Map, so your PR is useless - getSection() does basically the same thing as your suggested code.

@SenseiTarzan
Copy link
Copy Markdown
Author

getSection works every other time after creating a config it doesn't work anymore after restarting you can see on this:
https://discord.com/channels/393465748535640064/395586321252352010/891326372251852890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants