forked from 2009Scape/Server
commit
e01b5c383d
2 changed files with 2 additions and 10 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);
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ public final class WildernessCourse extends AgilityCourse {
|
|||
switch (n.getId()) {
|
||||
case 2283:
|
||||
return Location.create(3005, 3953, 0);
|
||||
case 2311:
|
||||
case 37704:
|
||||
return Location.create(3002, 3960, 0);
|
||||
case 2297:
|
||||
return Location.create(3002, 3945, 0);
|
||||
|
|
@ -269,7 +269,7 @@ public final class WildernessCourse extends AgilityCourse {
|
|||
ObjectDefinition.forId(2307).getConfigurations().put("option:open", this);
|
||||
ObjectDefinition.forId(2288).getConfigurations().put("option:squeeze-through", this);
|
||||
ObjectDefinition.forId(2283).getConfigurations().put("option:swing-on", this);
|
||||
ObjectDefinition.forId(2311).getConfigurations().put("option:cross", this);
|
||||
ObjectDefinition.forId(37704).getConfigurations().put("option:cross", this);
|
||||
ObjectDefinition.forId(2297).getConfigurations().put("option:walk-across", this);
|
||||
ObjectDefinition.forId(2328).getConfigurations().put("option:climb", this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue