In PI when I remove the comments from the ones i marked it cant find the symbol.
how can i fix this? do i need to add a if statement?
Code:
case 1278://trees
c.sendMessage("You chop at the tree.");
/* Woodcutting object respawning etc...
this -- > Objects stump = new Objects(1343, c.objectX, c.objectY, 0, -1, 10, 0);
this --> Server.objectHandler.addObject(stump);
this --> Server.objectHandler.placeObject(stump);
this --> Objects tree = new Objects(c.objectId, c.objectX, c.objectY, 0, -1, 10, 7);
and this --> Server.objectHandler.addObject(tree);*/
//c.treeId = objectType;