Fix calling event, add null-checks
Write out custom beacon effects to NBT