New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Items Duplicating, Inventories Not Working #1209

Open
michaeldriskell opened this Issue Jul 2, 2017 · 11 comments

Comments

Projects
None yet
3 participants
@michaeldriskell

michaeldriskell commented Jul 2, 2017

I cant edit the NPCs inventory. All of my NPCs have the trait Sentinel attached to them. The only way to change their inventory is to equip them with an item. If you try to drop an item into its inventory, the item disappears. But then when Im in the inventory and I pull the item I equipped them with, it duplicated the item. (in this case it was a diamond sword) I now have access to infinite diamond swords? Please fix this. Im on the latest version of spigot (1.12R0.1b1336) and latest version of Citizens 2.

I haven't purchased the plugin yet, but you have my word that when this is fixed and I can sell NPCs to players for in game money without worrying about dupe glitches and them not being able to access their inventories, I will definitely show my support and purchase it!

Has anyone else had this issue?

@mcmonkey4eva

This comment has been minimized.

Member

mcmonkey4eva commented Jul 2, 2017

Are you testing in creative or survival mode?

@michaeldriskell

This comment has been minimized.

michaeldriskell commented Jul 2, 2017

Ive tested it in survival and creative. And after a fresh server restart.

@fullwall

This comment has been minimized.

Member

fullwall commented Jul 9, 2017

How are you editing the inventory? Can't reproduce this using /npc inventory

@michaeldriskell

This comment has been minimized.

michaeldriskell commented Jul 10, 2017

It only happens when I have sentinel added to its traits.

@mcmonkey4eva

This comment has been minimized.

Member

mcmonkey4eva commented Jul 10, 2017

How is the Sentinel configured?
/sentinel info, what's your config, what commands were run on the Sentinel?

@michaeldriskell

This comment has been minimized.

michaeldriskell commented Jul 10, 2017

The default stats. If youre available to hop on my server and see, the IP is mcsplash.us

@mcmonkey4eva

This comment has been minimized.

Member

mcmonkey4eva commented Jul 10, 2017

Sentinel doesn't do anything funky with the inventory by default - it only uses it to read current item.

@michaeldriskell

This comment has been minimized.

michaeldriskell commented Jul 10, 2017

Well when I edit a new NPC inventory it works just like it should but as soon as I add sentinel to it, it will delete the item if you add it to its inventory. and if you equip it with /npc equip and try to take it out of the inventory it duplicates it.

@mcmonkey4eva

This comment has been minimized.

Member

mcmonkey4eva commented Jul 10, 2017

You sure you didn't EG accidentally active needs ammo mode?

@mcmonkey4eva

This comment has been minimized.

Member

mcmonkey4eva commented Jul 10, 2017

or autoswitch?

@michaeldriskell

This comment has been minimized.

michaeldriskell commented Jul 10, 2017

yes Im sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment