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:
parent
30f07c92a9
commit
ce7a9a2226
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user