Herocraft/Heroes — comment on commit 1b2ab0175abe671042f44d8b8470bd998c0e167d
File: src/com/herocraftonline/dev/heroes/persistence/YMLHeroStorage.java line 56
By generalredneck:

If you did likes 46-55 in your abstract class calling the plugin's methods, you would have so much more control over how someone implements this feature. That way you can further determine who's fault it is. You could change lines 33-35 to a function along the lines of "initConnection" where you load a file and if it loaded pass true... and if it didn't pass false. At the end, do the same with a close connection that way the file/what ever can be closed.

What do you think?