We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 147a1a1 commit 715b9e7Copy full SHA for 715b9e7
src/plugins/objects/ladders/ladder.plugin.ts
@@ -21,10 +21,10 @@ export const action: objectInteractionActionHandler = (details) => {
21
]))
22
.then(d => {
23
d.close();
24
- switch (d._action.data) {
+ switch (d.action) {
25
case 1:
26
case 2:
27
- action({ ...details, option: `climb-${(d._action.data === 1 ? 'up' : 'down')}` });
+ action({ ...details, option: `climb-${(d.action === 1 ? 'up' : 'down')}` });
28
return;
29
}
30
});
0 commit comments