no debug msg
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user