This method is not required, "Plugin" is protected, not private as I previously assumed.

This commit is contained in:
Keir 2015-10-30 01:05:45 +00:00
parent e266acaf44
commit ec5cbbe684
2 changed files with 1 additions and 6 deletions

View File

@ -40,11 +40,6 @@ public abstract class CommandBase<PluginType extends MiniPlugin> implements ICom
_aliases = Arrays.asList(aliases);
}
public PluginType getPlugin()
{
return Plugin;
}
public Collection<String> Aliases()
{
return _aliases;

View File

@ -34,7 +34,7 @@ public class ReportCommand extends CommandBase<ReportPlugin>
if (reportedPlayer != null)
{
new ReportPage(getPlugin(), player, reportedPlayer, reason);
new ReportPage(Plugin, player, reportedPlayer, reason);
}
else
{