no debug msg

This commit is contained in:
hydrant
2021-05-28 00:00:22 +02:00
parent 424de9d021
commit 64fdecddc0

View File

@@ -334,9 +334,7 @@ export default function hanfSystem(globalData: IGlobalData) {
let hanfDataIdToTextLabelMap: Map<number, TextLabelMp> = new Map<number, TextLabelMp>(); let hanfDataIdToTextLabelMap: Map<number, TextLabelMp> = new Map<number, TextLabelMp>();
mp.events.addDataHandler("hanfData", (entity: EntityMp, value) => { mp.events.addDataHandler("hanfData", (entity: EntityMp, value) => {
mp.gui.chat.push("neue hanf data");
if (entity.type == 'player' && entity.remoteId == mp.players.local.remoteId) { if (entity.type == 'player' && entity.remoteId == mp.players.local.remoteId) {
mp.gui.chat.push("eigener user");
updateHanf(value); updateHanf(value);
} }
}); });