Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5525

saveResource save files from server jars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • some spigot server with my test plugin installed.

    • any
    • Any plugin
    • Yes

      plugin.saveResource uses getResource method, which will get resources(like log4j2.xml as an example) from parent classloader before itself, cause saving files from server jars unexpectedly.

            Unassigned Unassigned
            IzzelAliz IzzelAliz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: