This commit is contained in:
nossr50 2019-06-09 05:53:39 -07:00
parent caec01e9fa
commit 83b55db4f8
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,6 @@
Version 2.1.73
Fixed a NPE that could occur if an entire skill was disabled in coreskills.yml
Version 2.1.72
Fixed a NPE if a server shutdown with no player data needing to be saved (the error is harmless but spammy)
Fixed a NPE that could occur if Roll was disabled in coreskills.yml

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId>
<version>2.1.72</version>
<version>2.1.73</version>
<name>mcMMO</name>
<url>https://github.com/mcMMO-Dev/mcMMO</url>
<scm>

View File

@ -568,6 +568,8 @@ public class mcMMO extends JavaPlugin {
* Acrobatics skills
*/
InteractionManager.initMaps(); //Init maps
if(CoreSkillsConfig.getInstance().isPrimarySkillEnabled(PrimarySkillType.ACROBATICS))
{
System.out.println("[mcMMO]" + " enabling Acrobatics Skills");
@ -575,7 +577,6 @@ public class mcMMO extends JavaPlugin {
//TODO: Should do this differently
Roll roll = new Roll();
CoreSkillsConfig.getInstance().isSkillEnabled(roll);
InteractionManager.initMaps();
InteractionManager.registerSubSkill(new Roll());
}
}