This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
Heroic9614
I have code, tips that why not working?
i click tiara and nothing...
Trailer.java
package l2ro.gameserver.model.instances; import l2ro.gameserver.model.Player; import l2ro.gameserver.templates.npc.NpcTemplate; public final class CustomTrainer extends NpcInstance { private static final long serialVersionUID = 5938813598479742068L; public CustomTrainer(int objectId, NpcTemplate template) { super(objectId, template); } @Override public void onBypassFeedback(Player player, String command) { if (!canBypassCheck(player, this)) { return; } if (command.equalsIgnoreCase("learn")) { player.sendMessage("Your gender has been changed !!"); } else { super.onBypassFeedback(player, command); } } @Override public boolean isNpc() { return true; } }NPC xml
53000.htm
Edited by Heroic96145 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now