From 817a884d8eb123c541fb942a5719285eb02c1316 Mon Sep 17 00:00:00 2001 From: Aikar Date: Wed, 22 Aug 2018 22:17:21 -0400 Subject: [PATCH] [CI-SKIP] Update importmcdev.sh instructions for 1.13+ --- CONTRIBUTING.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f986b1e24..62214a8fe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -32,7 +32,7 @@ Your commit will be converted into a patch that you can then PR into Paper ## Help! I can't find the file I'm looking for! By default, Paper (and upstream) only import files that we make changes to. If you would like to make changes to a file that isn't present in Paper-Server's source directory, you -just need to add it to our import script. +just need to add it to our import script to be ran during the patch process. 1. Save (rebuild) any patches you are in the middle of working on! 2. Identify the names of the files you want to import. @@ -41,6 +41,15 @@ just need to add it to our import script. 4. Re-patch the server `./paper patch` 5. Edit away! +This change is temporary! DO NOT COMMIT CHANGES TO THIS FILE! +Once you have made your changes to the new file, and rebuilt patches, you may undo your changes to importmcdev.sh + +Any file modified in a patch file gets automatically imported, so you only need this temporarily +to import it to create the first patch. + +To undo your changes to the file, type `git checkout scripts/importmcdev.sh` + + ## Modifying Patches Modifying previous patches is a bit more complex: