Thread: 1 error

Results 1 to 5 of 5
  1. #1 1 error 
    Registered Member Mr.Coding's Avatar
    Join Date
    Jul 2010
    Posts
    64
    Thanks given
    0
    Thanks received
    1
    Rep Power
    7
    Code:
    .\src\Client.java:296: illegal start of expression
                            public boolean playerIsWoodCutting;
                            ^
    .\src\Client.java:297: illegal start of expression
                            public int woodcuttingEventTimer = 0;
                            ^
    2 errors
    Press any key to continue . . .
    hmm
     

  2. #2  
    Banned

    Join Date
    Oct 2009
    Posts
    438
    Thanks given
    29
    Thanks received
    108
    Rep Power
    0
    Code:
    private boolean playerIsWoodCutting;
    
    	public void setPlayerIsWoodCutting(boolean playerIsWoodCutting) {
    		this.playerIsWoodCutting = playerIsWoodCutting;
    	}
    
    	public boolean isPlayerIsWoodCutting() {
    		return playerIsWoodCutting;
    	}
    }
     

  3. #3  
    Registered Member Mr.Coding's Avatar
    Join Date
    Jul 2010
    Posts
    64
    Thanks given
    0
    Thanks received
    1
    Rep Power
    7
    Code:
    .\src\Server.java:10: cannot find symbol
    symbol  : class WoodCutting
    location: class Server
            public static WoodCutting WoodCutting = null;
                          ^
    .\src\Server.java:110: cannot find symbol
    symbol  : class WoodCutting
    location: class Server
                    WoodCutting = new WoodCutting();
                                      ^
    2 errors
    Press any key to continue . . .

    how to fix this?
     

  4. #4  
    Registered Member Mr.Coding's Avatar
    Join Date
    Jul 2010
    Posts
    64
    Thanks given
    0
    Thanks received
    1
    Rep Power
    7
    I found and fixed the error
     

  5. #5  
    Banned

    Join Date
    Oct 2009
    Posts
    438
    Thanks given
    29
    Thanks received
    108
    Rep Power
    0
    Quote Originally Posted by Mr.Coding View Post
    I found and fixed the error
    , good job.
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •