Update CraftEventFactory.java