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

@ -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);