So I am working with Towny's source code to try and backport it since they no longer support 1.12 with their recent updates. The problem is that my knowledge of Java is not great. I never had time to sit down and take a course and most of my knowledge is from watching developers on YouTube. My issue is that in their TownySQLSource.java, there is a new field that was never there in the 1.12 version: Snippet: https://sourceb.in/329ffaf370 It is giving me an error on Line 29 of the above snippet Code (Java): Type mismatch: cannot convert from element type Integer to String . When I change type of "block" from "String" to "Integer", I get an error on line 40 telling me Code (Text): The method writeUTF(String) in the type DataOutputStream is not applicable for the arguments (Integer) How would be the correct way of fixing this part?