Fix incorrect placement of thankful chest on cust server display

This commit is contained in:
AlexTheCoder 2016-12-16 22:59:36 -05:00 committed by cnr
parent 07f2679275
commit dad7346313

View File

@ -168,7 +168,7 @@ public class SalesPackageManager extends MiniPlugin
coinBuilder = coinBuilder.extra("[").color("gray").extra(salesPackage.getName()).color("green").click("run_command", "/display " + playerName + " " + salesPackage.getName()).extra("] ").color("gray");
}
else if (salesPackage instanceof MythicalChest || salesPackage instanceof AncientChest || salesPackage instanceof OldChest || salesPackage instanceof IlluminatedChest || salesPackage instanceof FreedomChest || salesPackage instanceof HauntedChest || salesPackage instanceof TrickOrTreatChest
|| salesPackage instanceof GingerbreadChest /*|| salesPackage instanceof MinestrikeChest*/)
|| salesPackage instanceof ThankfulChest || salesPackage instanceof GingerbreadChest /*|| salesPackage instanceof MinestrikeChest*/)
{
chestBuilder = chestBuilder.extra("[").color("gray").extra(salesPackage.getName()).color("green").click("run_command", "/display " + playerName + " " + salesPackage.getName()).extra("] ").color("gray");
}