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 078b6ef4f..e8b86c503 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/report/command/ReportCommand.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/report/command/ReportCommand.java @@ -37,7 +37,14 @@ public class ReportCommand extends CommandBase if (reportedPlayer != null) { - new ReportCategoryPage(Plugin, player, reportedPlayer, reason).openInventory(); + if (reportedPlayer == player) + { + UtilPlayer.message(player, F.main(Plugin.getName(), C.cRed + "You cannot report yourself.")); + } + else + { + new ReportCategoryPage(Plugin, player, reportedPlayer, reason).openInventory(); + } } else {