This commit is contained in:
nossr50 2019-06-09 07:08:26 -07:00
parent 83b55db4f8
commit 1297b45ef8
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,6 @@
Version 2.1.74
Fixed a NPE that could occur during certain events if a skill was disabled in coreskills.yml (Sorry!)
Version 2.1.73
Fixed a NPE that could occur if an entire skill 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.73</version>
<version>2.1.74</version>
<name>mcMMO</name>
<url>https://github.com/mcMMO-Dev/mcMMO</url>
<scm>

View File

@ -75,6 +75,9 @@ public class InteractionManager {
*/
public static void processEvent(Event event, mcMMO plugin, InteractType curInteractType)
{
if(interactRegister.get(curInteractType) == null)
return;
for(Interaction interaction : interactRegister.get(curInteractType))
{
interaction.doInteraction(event, plugin);