kein "lol"

This commit is contained in:
hydrant
2020-07-29 22:04:01 +02:00
parent d88b4d8ebf
commit 8753c7a981

View File

@@ -40,9 +40,9 @@ export default function attachmentManager(game: IGame) {
e.__attachmentObjects[id] = object; e.__attachmentObjects[id] = object;
} }
} }
/* else { /* else {
mp.game.graphics.notify(`Static Attachments Error: ~r~Unknown Attachment Used: ~w~0x${id.toString(16)}`); mp.game.graphics.notify(`Static Attachments Error: ~r~Unknown Attachment Used: ~w~0x${id.toString(16)}`);
} */ } */
}, },
removeFor: function (entityRage, id) { removeFor: function (entityRage, id) {
@@ -184,7 +184,9 @@ export default function attachmentManager(game: IGame) {
}); });
mp.events.add("entityStreamOut", (entityRage) => { mp.events.add("entityStreamOut", (entityRage) => {
if (entityRage == mp.players.local.vehicle) { mp.gui.chat.push("lol"); return; } if (entityRage == mp.players.local.vehicle) {
return;
}
if (entityRage.type === "player" || entityRage.type === "vehicle") { if (entityRage.type === "player" || entityRage.type === "vehicle") {
let e = game.attachments.at(entityRage.remoteId); let e = game.attachments.at(entityRage.remoteId);