Yeah it works now perfectly. Thx :cool:
Type: Posts; User: ParkourGrip
Yeah it works now perfectly. Thx :cool:
Yeah it shood be ".properties". Thx that's such a stupid mistake. Ill see if it works. I cant even believe where i did that mistake. Ill see if it works then replay again.
The program shows no errors. It just dose not delete the file, puts in sucsess variable false, and as you see in my code prints to player "ERROR: Failled deleting the toggleblocks file.".
And if...
Ok i added it in SavePropertie method only becose i whant the LoadPropertie to return null if file has not be found or propertie line has not been found. That dose not solve the problem.
I created 2 methods 1 for loading string from .propertie file and 1 for savng string to propertie file:
public void SavePropertie(String file, String key, String value){
Properties...