1. Use naming conventions 2. You may not have interacted with a block 3. The block you may not have interacted with may not be a Sign 4. Sign is not a Block subclass 5. The constructor you are using for Location does not exist
You need to make add a world to your constructor. In this case get the players world. Code (Text): p.getWorld();
your if statement still is not correct. You put a semicolon where there should be none and are either missing curly brackets or your spacing is off.
Ok then my habbit might not be needed but at least it makes it more readable And also as said already Sign is not a Block. Sign is a BlockState
Ok so first off I do space my code I just read it better when I don't have a lot of them that is just me though. I am going to restart my online java class because it has been a long time since I have done it and I need a refresh. This is so I can get a better understanding of it.