Skip to content

Commit

Permalink
Change version to 1.1.3, disallow Shift + Click to put an item into
Browse files Browse the repository at this point in the history
an inventory.
  • Loading branch information
MinusKube committed Oct 21, 2017
1 parent e9bcec5 commit defb0da
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/modules/smart-invs.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion .idea/modules/smart-invs_main.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion .idea/modules/smart-invs_test.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repositories {
}
dependencies {
compile 'fr.minuskube.inv:smart-invs:1.1.2'
compile 'fr.minuskube.inv:smart-invs:1.1.3'
}
```

Expand All @@ -43,7 +43,7 @@ dependencies {
<dependency>
<groupId>fr.minuskube.inv</groupId>
<artifactId>smart-invs</artifactId>
<version>1.1.2</version>
<version>1.1.3</version>
</dependency>
```

Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'fr.minuskube.inv'
version '1.1.2'
version '1.1.3'

apply plugin: 'java'
apply plugin: 'maven'
Expand Down Expand Up @@ -45,7 +45,6 @@ signing {
sign configurations.archives
}


uploadArchives {
repositories {
mavenDeployer {
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/fr/minuskube/inv/InventoryManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit defb0da

Please sign in to comment.