diff options
author | Zach <[email protected]> | 2016-02-13 16:34:03 -0600 |
---|---|---|
committer | Zach <[email protected]> | 2016-02-13 16:34:03 -0600 |
commit | 539c3829edf333e4895e3647b77d9085f06bf94a (patch) | |
tree | 33c450404c8a8276fff87481cd7075ce4290ce66 | |
parent | 4c925a46392aea6519707248c3f4539ee6053e32 (diff) | |
parent | c0e5c957c56e884c690e7aee5b78fb1e4a20b1be (diff) | |
download | Paper-539c3829edf333e4895e3647b77d9085f06bf94a.tar.gz Paper-539c3829edf333e4895e3647b77d9085f06bf94a.zip |
Merge pull request #25 from Martyn96/patch-1
Fix typos in contributing.md
-rw-r--r-- | Contributing.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Contributing.md b/Contributing.md index a633d298d0..b59894427a 100644 --- a/Contributing.md +++ b/Contributing.md @@ -2,7 +2,7 @@ Contributing to PaperSpigot ========================== PaperSpigot has a very lenient policy towards PRs, but would prefer that you try and adhere to the following guidelines. -## Understaing Patches +## Understanding Patches Patches to PaperSpigot are very simple, but center around the directories 'PaperSpigot-API' and 'PaperSpigot-Server' Assuming you already have forked the repository: @@ -29,8 +29,8 @@ Adding patches to PaperSpigot is very simple: Your commit will be converted into a patch that you can then PR into PaperSpigot -## Modifing Patches -Modifiying previous patches is a bit more complex: +## Modifying Patches +Modifying previous patches is a bit more complex: 1. Make sure `git status` is correct - If it says something like `212 commits ahead, 207 commits behind`, then type `git fetch` to update spigot @@ -58,7 +58,7 @@ While we will fix minor formatting issues, you should stick to the guide below w All modifications to non-PaperSpigot files should be marked - Multi line changes start with `// PaperSpigot start` and end with `// PaperSpigot end` - You can put a messages with a change if it isn't obvious, like this: `// PaperSpigot start - reason - - Should generaly be about the reason the change was made, what it was before, or what the change is + - Should generally be about the reason the change was made, what it was before, or what the change is - Multi-line messages should start with `// PaperSpigot start` and use `/* Multi line message here */` for the message itself - Single line changes should have `// PaperSpigot` or `// PaperSpigot - reason` - For example: @@ -73,7 +73,7 @@ Location spawnLocation = ((CraftWorld)entity.getWorld()).getSpawnLocation(); entity.getWorld().explode(new BlockPosition(spawnLocation.getX(), spawnLocation.getY(), spawnLocation.getZ())); // PaperSpigot end ```` -- We generally follow usual java style, or what is programed into most IDEs and formatters by default +- We generally follow usual java style, or what is programmed into most IDEs and formatters by default - This is also known as oracle style - It is fine to go over 80 lines as long as it doesn't hurt readability - There are exceptions, especially in Spigot-related files |