class, interface, or enum expected error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kitter
    New Member
    • Jun 2010
    • 1

    class, interface, or enum expected error

    1 error in total. I'll provide the whole thing on the bottom but here are the spots where it says the error comes up when I compile it.

    private void clickItem(int log2) {
    on void

    Code:
    public int loop() {
    			setCameraAltitude(true);
    			 if (getCurrentTab() == TAB_MAGIC) {
    				 WithBank();
    				 status = "Casting...";
    				 moveMouse((int) random(706, 725), (int) random(352, 334));
    				 clickMouse(true);
    				 wait(random(50, 100));
    				 clickItem(log);
    				 if(isInventoryFull())
    				moveMouse((int) random(733, 758), (int) random(170, 200));
    				 clickMouse(true);
    			}
    			 }
    		}
    		 
     
    	private void clickItem(int log2) {
    			// TODO Auto-generated method stub
    			
    		}
    This is only the bottom of the script so I do have log, the TABS, and all of that defined but the private void is just messing it up from compiling. This may be easy for some but I'm kind of new to this stuff so thanks in advance.
Working...