File tree Expand file tree Collapse file tree 7 files changed +10
-9
lines changed
src/main/java/com/alessiodp/parties/bukkit/commands Expand file tree Collapse file tree 7 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 44 <parent >
55 <groupId >com.alessiodp.parties</groupId >
66 <artifactId >Parties</artifactId >
7- <version >2.5.1 </version >
7+ <version >2.5.2 </version >
88 </parent >
99
1010 <artifactId >parties-api</artifactId >
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.alessiodp.parties</groupId >
77 <artifactId >Parties</artifactId >
8- <version >2.5.1 </version >
8+ <version >2.5.2 </version >
99 </parent >
1010
1111 <artifactId >parties-bukkit</artifactId >
Original file line number Diff line number Diff line change 1515import com .alessiodp .parties .common .logging .LoggerManager ;
1616import org .bukkit .Bukkit ;
1717import org .bukkit .command .Command ;
18- import org .bukkit .command .CommandExecutor ;
1918import org .bukkit .command .CommandMap ;
2019import org .bukkit .command .PluginCommand ;
2120
@@ -61,7 +60,8 @@ protected void setupCommands() {
6160 LoggerManager .log (LogLevel .BASIC , Constants .DEBUG_COMMANDS_REGISTER_PARTY_EXIST , true );
6261
6362 if (cmd instanceof PluginCommand ){
64- ((PluginCommand ) cmd ).setExecutor ((CommandExecutor ) commandParty );
63+ BukkitCommandImpl cmdParty = new BukkitCommandImpl (ConfigMain .COMMANDS_CMD_PARTY , commandParty );
64+ ((PluginCommand ) cmd ).setExecutor (cmdParty );
6565 }
6666 }
6767 }
@@ -83,7 +83,8 @@ protected void setupCommands() {
8383 LoggerManager .log (LogLevel .BASIC , Constants .DEBUG_COMMANDS_REGISTER_P_EXIST , true );
8484
8585 if (cmd instanceof PluginCommand ){
86- ((PluginCommand ) cmd ).setExecutor ((CommandExecutor ) commandP );
86+ BukkitCommandImpl cmdP = new BukkitCommandImpl (ConfigMain .COMMANDS_CMD_P , commandP );
87+ ((PluginCommand ) cmd ).setExecutor (cmdP );
8788 }
8889 }
8990 }
Original file line number Diff line number Diff line change 33 <parent >
44 <groupId >com.alessiodp.parties</groupId >
55 <artifactId >Parties</artifactId >
6- <version >2.5.1 </version >
6+ <version >2.5.2 </version >
77 </parent >
88
99 <artifactId >parties-bungee</artifactId >
Original file line number Diff line number Diff line change 77 <parent >
88 <artifactId >Parties</artifactId >
99 <groupId >com.alessiodp.parties</groupId >
10- <version >2.5.1 </version >
10+ <version >2.5.2 </version >
1111 </parent >
1212
1313 <artifactId >parties-common</artifactId >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >Parties</artifactId >
77 <groupId >com.alessiodp.parties</groupId >
8- <version >2.5.1 </version >
8+ <version >2.5.2 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 33
44 <groupId >com.alessiodp.parties</groupId >
55 <artifactId >Parties</artifactId >
6- <version >2.5.1 </version >
6+ <version >2.5.2 </version >
77 <packaging >pom</packaging >
88
99 <name >Parties</name >
You can’t perform that action at this time.
0 commit comments