Fix NPE being thrown onPlayerInteract.