[SPIGOT-2726] Possible to spawn two seperate entities with the same UUID Created: 12/Oct/16 Updated: 16/Oct/16 Resolved: 16/Oct/16 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Rick W | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | duplicate, entity, uuid | ||
Environment: |
Occurred both on a dedicated Cent-OS server and my private Windows server. |
Plugin: | None |
Description |
Situation: command twice will spawn two Villagers with both the same UUID. |
Comments |
Comment by pokechu22 [ 16/Oct/16 ] |
I've submitted a PR that fixes this issue. |
Comment by pokechu22 [ 16/Oct/16 ] |
Notably, this behavior differs from vanilla, where it's not possible to summon two entities with the same UUID (see MC-44904). Attempting to do so will result in "Unable to summon object" being printed. You can see that both villagers have the same UUID by running /say @e[type=Villager] and then hovering over their names. Upon relogging, one of the two villagers is removed. I'm not sure why it would allow the summoning to happen. Or rather, why the code in vanilla that's supposed to prevent it isn't triggering here. I'll investigate. |