Skip to content

Commit

Permalink
[#10] Aliases for disownplayer were declared incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
gdude2002 committed Apr 15, 2015
1 parent b577f5a commit 0231b11
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
5 changes: 1 addition & 4 deletions src/main/java/com/archivesmc/archblock/Plugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,9 @@ public class Plugin extends JavaPlugin {
*
* TODO: HANGING ENTITIES
* TODO: LIGHTNING STRIKE
* TODO: BUCKETS
* TODO: VEHICLES
*
* TODO: REMOVE FROM CONFIG: GROW, PHYSICS
*
* TODO: LOCALISATION
*/

private ArchBlock api;
Expand Down Expand Up @@ -117,7 +114,7 @@ public void onEnable() {

// Staff commands
this.getCommand("disownplayer").setExecutor(new DisownPlayerCommand(this));
this.addCommandAliases("disown");
this.addCommandAliases("disownplayer");
this.getCommand("disownworld").setExecutor(new DisownWorldCommand(this));
this.addCommandAliases("disownworld");
this.getCommand("setowner").setExecutor(new SetOwnerCommand(this));
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ enabled: false

# The translation the plugin should use. Set this to "system" to try to use your
# system's language.
# Supported languages: en, nl
# Supported languages: en, nl, fr
language: system

# Database configuration.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/translations/Messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ unknown_world = &cUnknown world: &b%s
# You can leave any of these commented out if you don't want to use them
# Translators should provide localized command names as aliases

alias_disown = dp;disownp
alias_disownplayer = dp;disownp
alias_disownworld = dw
alias_friend = fr;f
alias_friends = fs
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/translations/Messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ unknown_world = &cUnknown world: &b%s
# You can leave any of these commented out if you don't want to use them
# Translators should provide localized command names as aliases

alias_disown = dp;disownp
alias_disownplayer = dp;disownp
alias_disownworld = dw
alias_friend = fr;f
alias_friends = fs
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/translations/Messages_fr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ unknown_world = &cMonde inconnu : &b%s
# You can leave any of these commented out if you don't want to use them
# Translators should provide localized command names as aliases

alias_disown = dp;disownp;
alias_disownplayer = dp;disownp;
alias_disownworld = dw
alias_friend = fr;f;ami;a
alias_friends = fs;amis;as
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/translations/Messages_nl.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ unknown_world = &cOnbekende wereld: &b%s
# You can leave any of these commented out if you don't want to use them
# Translators should provide localized command names as aliases

alias_disown = verstoot;ve
alias_disownplayer = verstoot;ve
alias_disownworld = verstootwereld;vew
alias_friend = vriend;v
alias_friends = vrienden;ven
Expand Down

0 comments on commit 0231b11

Please sign in to comment.