Make sure you compiled correctly and did you add it in the correct place?
|
Hi,
I added these lines of code into actionhandler.java
But when i click the flax nothing happens and no items get added? how is this happening..?case 2646:
if(System.currentTimeMillis() - c.buryDelay > 1500) {
c.getItems().addItem(1779,1);
c.turnPlayerTo(c.objectX, c.objectY);
c.startAnimation(2292);
c.getPA().object(-1, 2739, 3444, 0, 10);
c.sendMessage("You pick some flax.");
c.buryDelay = System.currentTimeMillis();
}
break;
Make sure you compiled correctly and did you add it in the correct place?
^ I added it under switch (objectType) {
In the ActionHandler.java..
I compiled the server, not the client.. maybe thats the problem?
actionhandler is server sided, so no need to compile client
^ I dont have the second part.. in actionhandler.java so i dont know where to paste it..
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |