We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ccca81 commit d4fbcfdCopy full SHA for d4fbcfd
src/main/kotlin/com/mairwunnx/projectessentials/core/vanilla/commands/GiveCommand.kt
@@ -128,9 +128,9 @@ internal object GiveCommand {
128
itementity1?.makeFakeItem()
129
serverplayerentity.world.playSound(
130
null as PlayerEntity?,
131
- serverplayerentity.posX,
132
- serverplayerentity.posY,
133
- serverplayerentity.posZ,
+ serverplayerentity.func_226277_ct_(),
+ serverplayerentity.func_226278_cu_(),
+ serverplayerentity.func_226281_cx_(),
134
SoundEvents.ENTITY_ITEM_PICKUP,
135
SoundCategory.PLAYERS,
136
0.2f,
@@ -146,6 +146,7 @@ internal object GiveCommand {
146
}
147
148
149
+
150
if (targets.size == 1) {
151
source.sendFeedback(
152
TranslationTextComponent(
0 commit comments