This commit is contained in:
2021-04-06 17:02:54 +02:00
parent b3fdbccff3
commit fb601d5080

View File

@@ -71,7 +71,7 @@
mp.events.addDataHandler("AnimationData", (entity: PlayerMp, string) => {
entity.clearTasksImmediately();
blockInput = false;
if (string == null) {
return;
}
@@ -99,11 +99,9 @@
});
mp.events.add("render", () => {
mp.game.controls.disableControlAction(32, 24, blockInput);
mp.game.controls.disableControlAction(32, 140, blockInput);
mp.game.controls.disableControlAction(32, 141, blockInput);
mp.game.controls.disableControlAction(32, 142, blockInput);
mp.game.controls.disableControlAction(32, 257, blockInput);
if (blockInput) {
mp.game.controls.disableControlAction(32, 24, true);
}
});
function loadAnimDict(animDict, callback) {