LabAPI icon indicating copy to clipboard operation
LabAPI copied to clipboard

[BUG]: Setting the item category limit for radios affects the SCP item limit.

Open reversum opened this issue 1 year ago • 1 comments

Before You Report

  • [x] I have searched for existing reports of this bug, and this bug report is unique.

Version

1.1.1

Description

When I set the limit to 8 using Server.CategoryLimits[ItemCategory.Radio] = 8, the item limit for the SCP category is also set to 2 in the same run. However, this bug is only noticeable in-game, because if you log the item limit for the SCP category, it is still set to 3.

To Reproduce

Create a plugin and use Server.CategoryLimits[ItemCategory.Radio] = ANY LIMIT Spawn yourself SCP Items and try to pickup 3. It will only let you pickup 2.

Expected Behavior

Leave the SCP Item Limit alone. :(

Additional Information

No other plugins on the server. No EXILED.

Image Image Image

reversum avatar Aug 23 '25 08:08 reversum

I couldn't reproduce the issue on the latest version (14.2.2). Could you test again and provide some code if the issue persists? When did you set the category limit? The following code works properly and does not break SCP item limits: Image

Axwabo avatar Nov 25 '25 19:11 Axwabo