This commit is contained in:
hydrant
2021-05-27 23:52:46 +02:00
parent acb2cbc9ba
commit ac48387b4c

View File

@@ -334,6 +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 == mp.players.local) { if (entity == mp.players.local) {
updateHanf(value); updateHanf(value);
} }