FPtje / darkrpmodification

This is the addon with which you can modify DarkRP. Do not edit DarkRP files, edit files in this addon instead.
MIT License
122 stars 239 forks source link

Buying custom entities with 0 limit will show the "You have reached the X limit!" error. #141

Closed Famous5000 closed 5 years ago

Famous5000 commented 5 years ago

Related to #16, re-opened because it's happening again. Trying to buy a custom entity and once I try to that happens. There are only 4 different entities that I can buy, all of the entities have no limits.

Famous5000 commented 5 years ago

Should note that the entities had no limit before and they worked just fine. Not sure what caused the bug.

Famous5000 commented 5 years ago

Apparently having extra groups/shipments in the entities.lua file causes the issue. Would love a way to buy a large amount of an entity without having to have it separate in the shipments tab as well...

Nvm, it is a "limit 0" bug...

Bo98 commented 5 years ago

By "0 limit" do you mean setting "max = 0"? I'm not sure if that ever worked.

Famous5000 commented 5 years ago

Yes, I do. Sorry for being unclear about that.

FPtje commented 5 years ago

Fixed in https://github.com/FPtje/DarkRP/commit/92195cef39d559fb13145f3c873ff0a66f3bda40

Bo98 commented 5 years ago

I'll add a mention of this on the wiki too.