Skip to content

Commit

Permalink
Update 2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioDP committed Jan 26, 2019
1 parent 29591f0 commit c34cf1a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.alessiodp.parties</groupId>
<artifactId>Parties</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</parent>

<artifactId>parties-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bukkit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.alessiodp.parties</groupId>
<artifactId>Parties</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</parent>

<artifactId>parties-bukkit</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import com.alessiodp.parties.common.logging.LoggerManager;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandMap;
import org.bukkit.command.PluginCommand;

Expand Down Expand Up @@ -61,7 +60,8 @@ protected void setupCommands() {
LoggerManager.log(LogLevel.BASIC, Constants.DEBUG_COMMANDS_REGISTER_PARTY_EXIST, true);

if (cmd instanceof PluginCommand){
((PluginCommand) cmd).setExecutor((CommandExecutor) commandParty);
BukkitCommandImpl cmdParty = new BukkitCommandImpl(ConfigMain.COMMANDS_CMD_PARTY, commandParty);
((PluginCommand) cmd).setExecutor(cmdParty);
}
}
}
Expand All @@ -83,7 +83,8 @@ protected void setupCommands() {
LoggerManager.log(LogLevel.BASIC, Constants.DEBUG_COMMANDS_REGISTER_P_EXIST, true);

if (cmd instanceof PluginCommand){
((PluginCommand) cmd).setExecutor((CommandExecutor) commandP);
BukkitCommandImpl cmdP = new BukkitCommandImpl(ConfigMain.COMMANDS_CMD_P, commandP);
((PluginCommand) cmd).setExecutor(cmdP);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion bungee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>com.alessiodp.parties</groupId>
<artifactId>Parties</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</parent>

<artifactId>parties-bungee</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>Parties</artifactId>
<groupId>com.alessiodp.parties</groupId>
<version>2.5.1</version>
<version>2.5.2</version>
</parent>

<artifactId>parties-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion output/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>Parties</artifactId>
<groupId>com.alessiodp.parties</groupId>
<version>2.5.1</version>
<version>2.5.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.alessiodp.parties</groupId>
<artifactId>Parties</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
<packaging>pom</packaging>

<name>Parties</name>
Expand Down

0 comments on commit c34cf1a

Please sign in to comment.