Skip to content

Commit

Permalink
1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Jan 16, 2022
1 parent 545cb0b commit a2480ac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Item Piles Changelog

## Version 1.2.2 Hotfix
- Fixed hotkeys being broken on Foundry v9
- Fixed alt-quickdrop hotkey not creating a pile in the right location

## Version 1.2.1
- Fixed hotkey errors on Foundry 0.8.9

Expand Down
2 changes: 1 addition & 1 deletion scripts/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,7 @@ export default class API {
const pre_drop_determined_hook = Hooks.call(HOOKS.ITEM.PRE_DROP_DETERMINED, dropData.source, dropData.target, dropData.position, dropData.itemData);
if (pre_drop_determined_hook === false) return;

let action = "addToPile";
let action;
let droppableDocuments = [];
let x;
let y;
Expand Down
4 changes: 2 additions & 2 deletions scripts/hotkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function registerHotkeysPre() {
reservedModifiers: ["SHIFT", "ALT"]
});

game.keybindings.register(CONSTANTS.MODULE_NAME, "force-open-item-pile-inventory", {
game.keybindings.register(CONSTANTS.MODULE_NAME, "force-drop-item", {
name: "Force drop item (GM only)",
uneditable: [
{ key: "ShiftLeft" },
Expand All @@ -40,7 +40,7 @@ export function registerHotkeysPre() {
reservedModifiers: ["ALT", "CONTROL"]
});

game.keybindings.register(CONSTANTS.MODULE_NAME, "force-drop-item", {
game.keybindings.register(CONSTANTS.MODULE_NAME, "force-drop-one-item", {
name: "Force drop one item",
uneditable: [
{ key: "AltLeft" },
Expand Down

0 comments on commit a2480ac

Please sign in to comment.