GC-spigot / AdvancedPets

AdvancedPets is the first Spigot Custom Pets Plugin 1.8 - 1.18.1 that allows you to create custom pets in-game without any programming knowledge. Pets are integrated with custom abilities, skins and way more.
5 stars 1 forks source link

Latest plugin version have Menu problem, all menu items for free! #197

Closed smscentras closed 5 months ago

smscentras commented 5 months ago

Describe the bug

In PetShop menu all icons now for free and did not work Pets Sell. Open menu, take all for free, close, open... all items renewed - for free.

Using latest - 1.20.4 PurPur Version: 2.9.10 have menu problem Version: 2.9.8 sell menu don't have problems

How to reproduce

Download latest AdvancedPets, restart server, open PetShop menu to buy pets... Bum

Console don't have Errors at all.

Screenshots / Videos

No response

Server Log

No response

GC-spigot commented 5 months ago

Can you send your configuration? 1.20.4 and latest advancedpets: https://gyazo.com/6bf0dc8a8402ebc33d516208982f6b3d

smscentras commented 5 months ago

Problem In language file, when there is more than 15 letters - BUM

petShop:
  name: 'WRITE_HERE_SIXTEEN_LETTERS_OR_MORE'

Check everywhere, all "NAME" have same problem in all files.

smscentras commented 5 months ago

And you don't talk about pet ability "Water breathing" problem:

description: "Water Breathing(max 60sec)"

PET_TOGGLE: effects:

  • 'POTION:WATER_BREATHING:0:((%level%+1)*30) @Owner'

THERE IS INFINITY WATER BREATHING, WHY?

GC-spigot commented 5 months ago

Solved, sorry about the problems. This was an issue with our 1.20.6 integration in early versions, limiting the GUI names to 16 chars.