ParticleEffect versioning bug fix.

This is a partial bug fix until it is updated in the main repor for the library.
Sometimes the version was not gotten adn was the default 0.
This will make sure that the version is always loaded.
This commit is contained in:
Magnus Ulf authored and Olof Larsson committed 2015-03-25 09:39:54 +01:00
1 parent 30f07c92a9
commit ce7a9a2226
1 file changed
+5
@@ -1409,6 +1409,11 @@ public enum ParticleEffect {
* @return The version number
*/
public static int getVersion() {
// MASSIVECORE MODIFICATION START (Ensure initialized)
if (!initialized) {
initialize();
}
// MASSIVECORE MODIFICATION END (Ensure initialized)
return version;
}