From ec5cbbe684d94dbba0ee77e5802d516a93b16a7d Mon Sep 17 00:00:00 2001 From: Keir Date: Fri, 30 Oct 2015 01:05:45 +0000 Subject: [PATCH] This method is not required, "Plugin" is protected, not private as I previously assumed. --- .../Mineplex.Core/src/mineplex/core/command/CommandBase.java | 5 ----- .../src/mineplex/core/report/command/ReportCommand.java | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/command/CommandBase.java b/Plugins/Mineplex.Core/src/mineplex/core/command/CommandBase.java index fff7be318..b395667da 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/command/CommandBase.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/command/CommandBase.java @@ -40,11 +40,6 @@ public abstract class CommandBase implements ICom _aliases = Arrays.asList(aliases); } - public PluginType getPlugin() - { - return Plugin; - } - public Collection Aliases() { return _aliases; diff --git a/Plugins/Mineplex.Core/src/mineplex/core/report/command/ReportCommand.java b/Plugins/Mineplex.Core/src/mineplex/core/report/command/ReportCommand.java index f69bec64e..a47f5f6ca 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/report/command/ReportCommand.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/report/command/ReportCommand.java @@ -34,7 +34,7 @@ public class ReportCommand extends CommandBase if (reportedPlayer != null) { - new ReportPage(getPlugin(), player, reportedPlayer, reason); + new ReportPage(Plugin, player, reportedPlayer, reason); } else {