Closed ybw0014 closed 4 weeks ago
Pro Tip! You can help us label your Pull Requests by using the following branch naming convention next time you create a pull request. โค๏ธ Branch naming convention | Label |
---|---|
feature/** |
๐ Feature |
fix/** |
โจ Fix |
chore/** |
๐งน Chores |
api/** |
๐ง API |
performance/** |
๐ก Performance Optimization |
compatibility/** |
๐ค Compatibility |
If your changes do not fall into any of these categories, don't worry. You can just ignore this message in that case! ๐
A Slimefun preview build is available for testing! Commit: a1bd9c8a
https://preview-builds.walshy.dev/download/Slimefun/4196/a1bd9c8a
Note: This is not a supported build and is only here for the purposes of testing. Do not run this on a live server and do not report bugs anywhere but this PR!
Is there a reason for the class being abstract here? if all you are changing is the constructer arguments then the class doesn't need to be abstract, just have a give command that's created twice with the corresponding silent and not silent arguments. unless I'm missing something anyways
Is there a reason for the class being abstract here? if all you are changing is the constructer arguments then the class doesn't need to be abstract, just have a give command that's created twice with the corresponding silent and not silent arguments. unless I'm missing something anyways
to keep the SlimefunSubCommands
format consistent.
to keep the
SlimefunSubCommands
format consistent.
Hmmmm, like fair but also aaaaaa
Hmmmm, like fair but also aaaaaa
I would like to see others' opinions.
Description
Adds a
silent_give
command to give items to players without notifying them.Proposed changes
Move the logics to
AbstractGiveCommand
, and pass arguments to determine whether the receiver should get a notification.Related Issues (if applicable)
Discord suggestion 2579
Checklist
Nonnull
andNullable
annotations to my methods to indicate their behaviour for null values