[SPIGOT-5828] Unable to Delete External Worlds Created: 25/Jun/20 Updated: 27/Jun/20 Resolved: 26/Jun/20 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Nikos Roussos | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | 1.16 | ||
Environment: |
Spigot API - Plugin Development |
Version: | 1.16.1 |
Guidelines Read: | Yes |
Description |
Good evening! I can't seem to be able to delete world directories just like i could in 1.15.2 (Using spigot's api), Are all external worlds counted as vanilla worlds now? I'm getting a security exception which should only happen when deleting the vanilla default worlds. (Yes there are no players in that world, and i attempted to unload the world before and even after the deletion, chunks aswell) I tested a couple of other plugins like multi verse and they all have the same issue where the session.lock gets left, Yours sincirely, NikV2 |
Comments |
Comment by Nikos Roussos [ 27/Jun/20 ] |
Latest BuildTools works as it should! Thank you for your amazing work, Have a great night! |
Comment by md_5 [ 26/Jun/20 ] |
Should be resolved |
Comment by Nikos Roussos [ 26/Jun/20 ] |
Nevermind i cannot seem to be able to find another operating system to test it on, Please leave this issue opened or close it if you must, I'll make an update on my plugin and i'll hit you up again with more accurate data from my users. Cheers! |
Comment by Nikos Roussos [ 26/Jun/20 ] |
Windows 10, Tested on my computer. I find it quite strange considering it used to work just fine in 1.15.2, I'll try on another operating system (Linux) and let you know shortly. |
Comment by md_5 [ 26/Jun/20 ] |
The file is deleted for me on linux. |
Comment by Nikos Roussos [ 26/Jun/20 ] |
I noticed the same happens with Multiverse, with the difference that it does not throw an exception. but the session.lock file gets left undeleted resulting in a way where im unable to generate the world after deletion |
Comment by Nikos Roussos [ 26/Jun/20 ] |
Hello! First of all i apologize for posting an issue in the wrong place, I ran a few tests today aswell with the new spigot buildtools and the issue is that the session.lock file gets left undeleted throwing a security exception (on 1.16.1 only, in 1.15.2 it used to clear world data just fine) Here's the error im getting with my plugin. https://pastebin.com/9Gw09PaQ |
Comment by md_5 [ 25/Jun/20 ] |
mvdelete command works for me to delete worlds. |