@n targets the closest nearby living entity, including players, whereas @p targets the closest nearby player. Since shards can only be awarded to players, @p should be used instead to prevent errors.
|
- Place a command block with e.g. `/shard award @n [shard]` - this collects the shard for the nearest player |
@ntargets the closest nearby living entity, including players, whereas@ptargets the closest nearby player. Since shards can only be awarded to players,@pshould be used instead to prevent errors.scattered-shards/README.md
Line 34 in 100fe50