Fix player position and rotation data wiped when merging world inventories

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>
Added portal logic on/off toggle in configuration

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>
Properly find portal material when teleporting an entity

An EntityPortalEvent may be fired, even when the entity is not exactly inside the portal.
In this case, the block at the entity's location is probably air, thus cancelling the teleport.