Skip to content

(modified from EMC) add disable-give-dropping#106

Merged
BillyGalbreath merged 3 commits into
PurpurMC:ver/1.16.4from
Titaniumtown:pr/fix_give
Dec 2, 2020
Merged

(modified from EMC) add disable-give-dropping#106
BillyGalbreath merged 3 commits into
PurpurMC:ver/1.16.4from
Titaniumtown:pr/fix_give

Conversation

@Titaniumtown

@Titaniumtown Titaniumtown commented Dec 2, 2020

Copy link
Copy Markdown

This PR adds an config option settings.disable-give-dropping (that is disabled by default) to disable /give spewing out items if the target player's inventory is full. This is taken from https://github.com/starlis/empirecraft/blob/master/patches/server/0057-Fix-Give-command.patch but is simply modified to add a config option that controls it in purpur.yml

I tested this without any issues.

@katekerllenevich

Copy link
Copy Markdown
Member

The setting should probably be settings.disable-give-dropping or something. Saying fix-give-command implies that its broken, while dropping is the intended method.

@Titaniumtown

Copy link
Copy Markdown
Author

@notOM3GA yea, Billy just said that in the discord server. I will do that right now!

@Titaniumtown Titaniumtown changed the title (modified from EMC) Fix Give Command (modified from EMC) add disable-give-dropping Dec 2, 2020
@Titaniumtown

Copy link
Copy Markdown
Author

The config and patch has been renamed in accordance with the comments made by @BillyGalbreath and @notOM3GA

Comment thread patches/server/0158-EMC-disable-give-dropping.patch Outdated
@katekerllenevich

Copy link
Copy Markdown
Member

Remember to squash lol

@BillyGalbreath BillyGalbreath merged commit 9ac2c73 into PurpurMC:ver/1.16.4 Dec 2, 2020
@Titaniumtown Titaniumtown deleted the pr/fix_give branch December 2, 2020 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants