I just started developing a plugin but i am stuck here:
I’d like to change the text of a sign when right clicking on it but when I try to get the SignData from that sign i always get an empty Optional as return. Even when I try to get the default state of that sign i get an empty Optional. Here is my code: http://pastebin.com/UvsqtVDQ
And here is the error I get: http://pastebin.com/1Hs0XwRJ
I bet there are a lot of things wrong in this code but I don’t know what is.