Merge remote-tracking branch 'origin/master'

This commit is contained in:
Bella 2020-05-10 12:05:40 -04:00
commit 3069d837e9
No known key found for this signature in database
GPG Key ID: DBD4A6030080C8B3
4 changed files with 23 additions and 1 deletions

9
.github/CONTRIBUTING.md vendored Normal file
View File

@ -0,0 +1,9 @@
You are free to clone, modify KAMI Blue and make pull requests as you wish.
Before contributing please see the [Code of Conduct](https://blue.bella.wtf/codeofconduct)
See [Support](https://blue.bella.wtf/support) for help.
See this [this](https://blue.bella.wtf/contributing
) page for building instructions and how to setup a workspace

13
.github/pull_request_template.md vendored Normal file
View File

@ -0,0 +1,13 @@
---
name: Quick description of the pull
about: What feature or change was made
---
**Describe the pull**
A clear and concise description of what the pull is for.
**Describe how this pull is helpful**
A clear description of why this should be merged
**Additional context**
Add any other context about the pull here.

View File

@ -218,7 +218,7 @@ public class Search extends Module {
try {
for (BlockPos blockPos : blocks) {
int side = GeometryMasks.Quad.ALL;
Block block = mc.world.getBlockState(blockPos).getBlock();
Block block = chunk.getBlockState(blockPos).getBlock();
if (blocksToFind.contains(block)) {
Tuple<Integer, Integer> tuple = getTuple(side, block);
foundBlocks.put(blockPos, tuple);