mirror of
https://github.com/Ne0nx3r0/BetterAlias.git
synced 2025-01-07 19:28:17 +01:00
Catching up to current version
This commit is contained in:
parent
b974339b52
commit
3781d66047
@ -16,7 +16,6 @@ public class BetterAlias extends JavaPlugin
|
||||
|
||||
this.getServer().getPluginManager().registerEvents(new BetterAliasCommandListener(this), this);
|
||||
|
||||
|
||||
BetterAliasCommandExecutor betterAliasCommandExecutor = new BetterAliasCommandExecutor(this);
|
||||
|
||||
this.getCommand("bareload").setExecutor(betterAliasCommandExecutor);
|
||||
|
@ -20,7 +20,7 @@ public class BetterAliasCommandListener implements Listener
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
|
||||
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent e)
|
||||
{
|
||||
String sCommand = null;
|
||||
@ -62,7 +62,7 @@ public class BetterAliasCommandListener implements Listener
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
|
||||
public void onConsoleCommand(ServerCommandEvent e)
|
||||
{
|
||||
Alias alias;
|
||||
|
Loading…
Reference in New Issue
Block a user