forked from 2009Scape/Server
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:
parent
de39834df7
commit
8dfd80fa89
1 changed files with 0 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue