#Help me pl ! inventory pet

1 messages · Page 1 of 1 (latest)

fierce briar
#

hi, is it possible in the fail config to ban some items in the pet inventories? or is there a permission that enables or disables the ability to open pet inventories?

dense sapphire
fierce briar
#

@dense sapphire
If the presence of an inventory is present in the settings of a pet, how can I remove the presence of the inventory?

dense sapphire
#

making the InventorySize to 0 (or default the line with shift click)

#

or else, right in the config

#

remove the InventorySize line

fierce briar
#

but do I have to delete the old " config " file if I switch to 4.0.0 ?

dense sapphire
#

no you don't have to change anything

fierce briar
#

since in the old version even removing InventorySize or setting it to "0" gave me an error and didn't work

#

ok

#

4.0.0 and i have set inventorySize 0

#

😭

#

??

#

@dense sapphire ?

dense sapphire
fierce briar
#

the problem remains even removing the line

dense sapphire
#

ok let me see real quick

fierce briar
#

ok

dense sapphire
#

Coz it looks like you changed the inventory value to 0 here, but didn't restart so the cached inventory got confused, leading to that issue

fierce briar
#

I also removed the line, but the problem remains, and keep in mind that every change was made with the server turned off and then started

#

In this path " Server\plugins\MCPets\Pets " I removed the " InventorySize " line directly from the pet settings but in spite of everything when I enter the server I do the /mcpets command and the one shown before gives me an error.

dense sapphire
#

Ok let me see if I can patch that real quick

fierce briar
#

ok ty

#

I would be fine even if there was a permission to block players from using pet inventories, but here.. even removing the inventory gives me problems

dense sapphire
#

It's giving you problem in the instance coz you had inventories enabled on that pet

#

and because of that, it's been serialized

#

and now it's looking for it

#

I'm patching that part

fierce briar
#

ok i try

#

perfect 💪 ty

#

is working