This method is not required, "Plugin" is protected, not private as I previously assumed.
This commit is contained in:
parent
e266acaf44
commit
ec5cbbe684
@ -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;
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user