Added if statements to portal creation.                Should fix the crashing if a dimension is enabled and a user makes a portal to it.