4 posts in this topic

Posted

The Error's I get when I compile.


src\org\dementhium\tickable\impl\PlayerAreaTick.java:35: error: 'else' without 'if'

    else if (World.getWorld().getAreaManager().getAreaByName("safepk2").contains(player.getLocation())) {

    ^

src\org\dementhium\tickable\impl\PlayerAreaTick.java:150: error: 'else' without 'if'

			 else if  (World.getWorld().getAreaManager().getAreaByName("Nex").contains(player.getLocation())); {

			 ^

src\org\dementhium\tickable\impl\PlayerAreaTick.java:153: error: 'else' without 'if'

			    } else {

Share this post


Link to post
Share on other sites

Posted

Seeing the actual source code would be easier. Probably a mismatched paren or bracket.

Share this post


Link to post
Share on other sites

Posted

or perhaps you add ';' after "if (condtions)" into something like "if (condtions);"

which make the complier thinks the if part already ended.

Share this post


Link to post
Share on other sites

Posted

or perhaps you add ';' after "if (condtions)" into something like "if (condtions);"

which make the complier thinks the if part already ended.

Oh yeah! I did not see that! after the getLocation...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.