diff --git a/.idea/misc.xml b/.idea/misc.xml index 9c5ba3bc..15ca5e6e 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,5 +1,10 @@ + + + + + diff --git a/.idea/modules/smart-invs.iml b/.idea/modules/smart-invs.iml index ac54bc5d..0413e4b6 100644 --- a/.idea/modules/smart-invs.iml +++ b/.idea/modules/smart-invs.iml @@ -1,5 +1,5 @@ - + diff --git a/.idea/modules/smart-invs_main.iml b/.idea/modules/smart-invs_main.iml index 9d690109..701c9786 100644 --- a/.idea/modules/smart-invs_main.iml +++ b/.idea/modules/smart-invs_main.iml @@ -1,5 +1,14 @@ - + + + + + + SPIGOT + + + + diff --git a/.idea/modules/smart-invs_test.iml b/.idea/modules/smart-invs_test.iml index a0d10459..e467f842 100644 --- a/.idea/modules/smart-invs_test.iml +++ b/.idea/modules/smart-invs_test.iml @@ -1,5 +1,14 @@ - + + + + + + SPIGOT + + + + diff --git a/README.md b/README.md index 4f6ba778..ef684274 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ repositories { } dependencies { - compile 'fr.minuskube.inv:smart-invs:1.1.2' + compile 'fr.minuskube.inv:smart-invs:1.1.3' } ``` @@ -43,7 +43,7 @@ dependencies { fr.minuskube.inv smart-invs - 1.1.2 + 1.1.3 ``` diff --git a/build.gradle b/build.gradle index 1f619991..ef67df40 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ group 'fr.minuskube.inv' -version '1.1.2' +version '1.1.3' apply plugin: 'java' apply plugin: 'maven' @@ -45,7 +45,6 @@ signing { sign configurations.archives } - uploadArchives { repositories { mavenDeployer { diff --git a/src/main/java/fr/minuskube/inv/InventoryManager.java b/src/main/java/fr/minuskube/inv/InventoryManager.java index 6f70810f..c7ecfa0f 100644 --- a/src/main/java/fr/minuskube/inv/InventoryManager.java +++ b/src/main/java/fr/minuskube/inv/InventoryManager.java @@ -118,7 +118,8 @@ public void onInventoryClick(InventoryClickEvent e) { if(!inventories.containsKey(p)) return; - if(e.getAction() == InventoryAction.COLLECT_TO_CURSOR) { + if(e.getAction() == InventoryAction.COLLECT_TO_CURSOR || + e.getAction() == InventoryAction.MOVE_TO_OTHER_INVENTORY) { e.setCancelled(true); return; } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 7a0a788a..bc24948e 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: SmartInvs -version: 1.1.2 +version: 1.1.3 description: Inventory API for your Bukkit Plugins. author: MinusKube website: https://github.com/MinusKube/SmartInvs