-
Notifications
You must be signed in to change notification settings - Fork 22
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
NullPointerException at mytown.protection.ProtectionManager.getFlagValueAtLocation(ProtectionManager.java:258) #508
Comments
fix.zip
so maybe this condition needs to be fixed. Again, this is another show stopper, now on server side, so please have a look at it ASAP. |
Try deleting the database |
Yes, it may help. But having NPE in the code is not good anyway. Code in checkExist is wrong because getFlagValueAtLocation returns Boolean instance and implicit cast to boolean in if expression causes NPE when it returns null. |
I think they won't fix, the project seems to be abandoned :/ |
There is some commit activity from the end of July and last release is from April 2016 so it does not look like dead code. I use modified versions of this old mod for 1.6.4 and current code for 1.7.10 so I believe there is a chance to see this fixed. Also I gave them an idea how to fix it so it should be simple. |
Same :/ |
https://github.com/kratz74/MyTown2 is my fork with few things fixed including this one. |
NPE in mytown.protection.ProtectionManager.getFlagValueAtLocation is being thrown during world generation:
After fixing this there is another one
I got them after adding CustomMobSpawner and MoCreatures into modpack and generating new world.
The text was updated successfully, but these errors were encountered: