Instantiating a page shouldn't cause it to automatically open.

This commit is contained in:
Keir 2015-11-03 17:03:09 +00:00
parent bd6ce21cf7
commit 72b650086d
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -40,7 +40,6 @@ public class ReportPage extends SimpleGui
this._reason = reason; this._reason = reason;
buildPage(); buildPage();
openInventory();
} }
private void buildPage() private void buildPage()