Add support for teleportToEntity

Add support for teleportToEntity
This commit is contained in:
Alezia Kurdis 2020-10-18 23:00:31 -04:00 committed by GitHub
parent 3241ea7c1f
commit 8c94d20177
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -327,6 +327,8 @@ EntityListTool = function(shouldUseEditTabletApp) {
selectAllEntitiesInCurrentSelectionBox(false);
} else if (data.type === 'selectAllTouchingBox') {
selectAllEntitiesInCurrentSelectionBox(true);
} else if (data.type === 'teleportToEntity') {
SelectionManager.teleportToEntity();
}
};