if (NPC.getName().equals("name")) {
...
}
Should be something like that.
|
|
Solved
if (NPC.getName().equals("name")) {
...
}
Should be something like that.
Wouldn't this also use shop controller? or what? because its making all npc's that have the trade option open general store and ignoring their normal shop if set.

else if (NPC.getName().equals("shop")) {
ShopsHandler.openShop(player, Shopnumberhere);
}
| « [718/742] QuickChat Icons | Dementhium 639: Adding PvP Drops Issue » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |