Easy NPC

Easy NPC

2M Downloads

Npc Commands

BrainDifff opened this issue ยท 2 comments

commented

This bug seems to center commands on spawn, for example if someone it using an npc to say /give @p minecraft:dirt a player closest to spawn will get the item

To Reproduce
Steps to reproduce the behavior: (you will need another player)

  1. have one player sit in spawn
  2. have the other player leave by at least 16 blocks (I think that's default spawn radius)
  3. place an npc with a give command using @p

Expected Outcome
The person closest to the npc gets the item

Not sure if this is because of other mods

If you cant reproduce it I'll give you my mod list

Also 1.19.2 forge

commented

Thanks for the report, but this is working as expected.
If you want to make sure that only the Initiator of the dialog gets an item, you need to use something like /give @initiator stone.

The @initiator will be automatically replaced with the name of the user who is currently interacting with the dialog.

See:
https://github.com/MarkusBordihn/BOs-Easy-NPC/wiki/Actions

commented

Ohh Thats a command? mb