This commit is contained in:
kookroach
2021-04-05 01:19:34 +02:00
parent 4679779414
commit ed0b1a8f39

View File

@@ -34,7 +34,7 @@ export default function playerBlips() {
});
mp.events.add("entityStreamOut", (entity) => {
if (entity.type === "player") {
if (playerBlipMap && entity.type === "player") {
if (playerBlipMap.has(entity)) {
var pBlip = playerBlipMap.get(entity);
pBlip.destroy();