Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE Mines.getMine() #91

Open
miranda1000 opened this issue Nov 23, 2023 · 0 comments
Open

NPE Mines.getMine() #91

miranda1000 opened this issue Nov 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@miranda1000
Copy link
Owner

Two reports, on MineIt 3.0:

NullPointerException
Cannot invoke "com.rogermiranda1000.mineit.mine.Mine.getName()" because "m" is null

com.rogermiranda1000.mineit.mine.blocks.Mines in getMine at line 64
com.rogermiranda1000.mineit.CustomMineItCommand in lambda$static$9 at line 121
com.rogermiranda1000.helper.RogerPlugin in onCommand at line 426
NullPointerException
Cannot invoke "com.rogermiranda1000.mineit.mine.Mine.getName()" because the return value of "com.rogermiranda1000.mineit.mine.MineBlock.getMine()" is null

com.rogermiranda1000.mineit.mine.blocks.Mines$StoreMine in lambda$storeName$0 at line 32
com.rogermiranda1000.helper.blocks.CustomBlock in lambda$save$1 at line 189
com.rogermiranda1000.helper.blocks.CustomBlock in getAllBlocks at line 289
com.rogermiranda1000.helper.blocks.CustomBlock in save at line 189
com.rogermiranda1000.helper.RogerPlugin in onDisable at line 379
@miranda1000 miranda1000 added the bug Something isn't working label Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant