ChangeSkinX

ChangeSkinX

446k Downloads

Config: FileAlreadyExistsException for symlinks

PurpleTape opened this issue ยท 1 comments

commented

Hi. I found small bug

What behaviour is observed:

//: # I use symbolic links (ln) to easy make config changes for all servers in my bungeecord network. But every times when I start server happens FileAlreadyExistsException because plugin want create folder but folder arleady exist (as symbolic link)

Steps/models to reproduce:

//: # Just try to use config folder as symbolic link

Plugin version or build number (don't write latest):

//: # build number 49

Error Log:

Hastebin

commented

Files.createDirectories should fail safely if the folder already exists. Sadly the check if the folder already exists doesn't follow symbol links. I'll fix that.