Skip to content

Commit

Permalink
bumped version & modified SignClickListener to only cancel left click…
Browse files Browse the repository at this point in the history
… events
  • Loading branch information
alex9849 committed Jul 2, 2023
1 parent 4d85172 commit b6a8c95
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 48 deletions.
24 changes: 12 additions & 12 deletions advancedregionmarket/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<version>3.5.1</version>
<version>3.5.2</version>

<artifactId>advancedregionmarket</artifactId>

Expand Down Expand Up @@ -123,70 +123,70 @@
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>arminterface</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>wg6_1adapter</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>wg6_2adapter</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>wg7adapter</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>we7adapter</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>we6adapter</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>mc1-12adapter</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>mc1-13adapter</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>mc1-14adapter</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>mc1-20adapter</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public void interactEvent(PlayerInteractEvent event) {
this.handleSignCmd(region, AdvancedRegionMarket.getInstance().getPluginSettings().getSignRightClickNotSneakCommand(), event);
}
} else if (event.getAction() == Action.LEFT_CLICK_BLOCK) {
event.setCancelled(true);
if (event.getPlayer().isSneaking()) {
this.handleSignCmd(region, AdvancedRegionMarket.getInstance().getPluginSettings().getSignLeftClickSneakCommand(), event);
} else {
Expand All @@ -71,7 +72,6 @@ private void handleSignCmd(Region region, String cmd, PlayerInteractEvent event)
cmd = region.replaceVariables(cmd);
event.getPlayer().performCommand(cmd);
}
event.setCancelled(true);
}

}
4 changes: 2 additions & 2 deletions arminterface/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<artifactId>arminterface</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>

<dependencies>
<!--Bukkit API-->
Expand Down
6 changes: 3 additions & 3 deletions mc1-12adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>mc1-12adapter</artifactId>
<packaging>jar</packaging>
<version>3.5.1</version>
<version>3.5.2</version>

<dependencies>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>arminterface</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions mc1-13adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>mc1-13adapter</artifactId>
<packaging>jar</packaging>
<version>3.5.1</version>
<version>3.5.2</version>

<dependencies>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>arminterface</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions mc1-14adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>mc1-14adapter</artifactId>
<packaging>jar</packaging>
<version>3.5.1</version>
<version>3.5.2</version>

<dependencies>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>arminterface</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
8 changes: 4 additions & 4 deletions mc1-20adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>mc1-20adapter</artifactId>
<packaging>jar</packaging>
<version>3.5.1</version>
<version>3.5.2</version>

<dependencies>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>arminterface</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>mc1-14adapter</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
Expand Down
6 changes: 3 additions & 3 deletions placeholder-api-addon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>placeholder-api-addon</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>

<dependencies>
<dependency>
Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>advancedregionmarket</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>net.alex9849</groupId>
<artifactId>armparent</artifactId>
<packaging>pom</packaging>
<version>3.5.1</version>
<version>3.5.2</version>
<modules>
<module>arminterface</module>
<module>advancedregionmarket</module>
Expand Down
6 changes: 3 additions & 3 deletions we6adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>we6adapter</artifactId>
<packaging>jar</packaging>
<version>3.5.1</version>
<version>3.5.2</version>

<dependencies>
<!--Bukkit API-->
Expand Down Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>arminterface</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions we7adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>we7adapter</artifactId>
<packaging>jar</packaging>
<version>3.5.1</version>
<version>3.5.2</version>

<dependencies>
<!--Bukkit API-->
Expand Down Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>arminterface</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions wg6_1adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>wg6_1adapter</artifactId>
<packaging>jar</packaging>
<version>3.5.1</version>
<version>3.5.2</version>

<dependencies>
<!--Bukkit API-->
Expand Down Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>arminterface</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
8 changes: 4 additions & 4 deletions wg6_2adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>wg6_2adapter</artifactId>
<packaging>jar</packaging>
<version>3.5.1</version>
<version>3.5.2</version>

<dependencies>
<!--Bukkit API-->
Expand Down Expand Up @@ -39,13 +39,13 @@
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>arminterface</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>wg6_1adapter</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions wg7adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<parent>
<artifactId>armparent</artifactId>
<groupId>net.alex9849</groupId>
<version>3.5.1</version>
<version>3.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>wg7adapter</artifactId>
<packaging>jar</packaging>
<version>3.5.1</version>
<version>3.5.2</version>

<dependencies>
<!--Bukkit API-->
Expand Down Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>net.alex9849</groupId>
<artifactId>arminterface</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit b6a8c95

Please sign in to comment.