mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-21 09:02:07 -07:00
closes #225
This commit is contained in:
parent
ae9130aa95
commit
0277dcd06b
1 changed files with 29 additions and 0 deletions
29
Server/src/plugin/interaction/city/RCGuildMap.java
Normal file
29
Server/src/plugin/interaction/city/RCGuildMap.java
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
package plugin.interaction.city;
|
||||
|
||||
import org.crandor.cache.def.impl.ObjectDefinition;
|
||||
import org.crandor.game.interaction.OptionHandler;
|
||||
import org.crandor.game.node.Node;
|
||||
import org.crandor.game.node.entity.player.Player;
|
||||
import org.crandor.plugin.Plugin;
|
||||
|
||||
|
||||
/**
|
||||
* Map in RC guild/wiz tower
|
||||
* @author ceik
|
||||
*/
|
||||
public class RCGuildMap extends OptionHandler {
|
||||
|
||||
@Override
|
||||
public Plugin<Object> newInstance(Object arg) throws Throwable {
|
||||
ObjectDefinition.forId(38422).getConfigurations().put("option:study",this);
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean handle(Player player, Node node, String option) {
|
||||
if(option.equals("study")){
|
||||
player.getPacketDispatch().sendMessage("A map of Gielinor.");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue