Question My paper plugin has remapping issues when doing /reload confirm

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.

Slav ebb

New member
May 26, 2024
7
1
3
Hello everyone, i was wondering if anyone had this issue before, and if there is something i can do about it. Basicaly, if i re-compile my plugin with any changes in the code (if i dont change anything, this doesn't happen) in Inteliji Idea, and reload the server it outputs the same two errors every time, but after that, if i reload again, it fixes itself. Any ideas on what could be going on?
I know i shouldn't be doing /reload , but at the end of the day, im not sure if the plugin is supposed to do that, furthermore, it didn't do that previously (in my previous plugins). I have the entire project linked.I dont think that just restarting the entire server over a single change in the code is a good idea, so pleas help me out here.
 

Attachments

  • zondri.zip
    27.4 KB · Views: 0

electronicboy

Administrator
Staff member
Dec 11, 2021
321
18
68
28
first error is not a mapping issue, second error is a "windows is a PITA" issue; You already have something accessing the file which is preventing it from being messed with