mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
protect blacklisting to my id
This commit is contained in:
parent
28c53822b1
commit
546e908633
1 changed files with 2 additions and 2 deletions
|
@ -777,7 +777,7 @@ function MyController(hand) {
|
|||
}
|
||||
|
||||
var intersection;
|
||||
|
||||
|
||||
if(USE_BLACKLIST===true){
|
||||
intersection = Entities.findRayIntersection(pickRay, true, [], blacklist);
|
||||
}
|
||||
|
@ -1662,7 +1662,7 @@ handleHandMessages = function(channel, message, sender) {
|
|||
|
||||
} catch (e) { }
|
||||
}
|
||||
else if (channel === 'Hifi-Hand-RayPick-Blacklist') {
|
||||
else if (channel === 'Hifi-Hand-RayPick-Blacklist' && sender === MyAvatar.sessionUUID) {
|
||||
try {
|
||||
var data = JSON.parse(message);
|
||||
var action = data.action;
|
||||
|
|
Loading…
Reference in a new issue