Removed some more Donator checks to fix slots 5 and 6 on the GE interface (#169)

Co-authored-by: Qweqker <qweqker@mail.com>
This commit is contained in:
Danial 2020-03-14 09:12:28 +13:00 committed by GitHub
parent de39834df7
commit 8dfd80fa89

View file

@ -457,10 +457,6 @@ public final class GrandExchange implements SavingModule {
* @param index The offer index.
*/
public void openBuy(int index) {
if (index > 3 && !player.isDonator()) {
player.getPacketDispatch().sendMessage("You have to be a member to unlock this slot.");
return;
}
this.openedIndex = index;
sendConfiguration(offers[index], false);
openSearch();
@ -470,10 +466,6 @@ public final class GrandExchange implements SavingModule {
* Opens the selling screen.
*/
public void openSell(int index) {
if (index > 3 && !player.isDonator()) {
player.getPacketDispatch().sendMessage("You have to be a member to unlock this slot.");
return;
}
this.openedIndex = index;
sendConfiguration(offers[index], true);
player.getInterfaceManager().openSingleTab(new Component(107)).open(player);