CustomItems
CustomItems copied to clipboard
Detonate command does not work
Describe the bug
When attempting to run .detonate in the in-game console without holding the detonator item, an error is produced.
To Reproduce Steps to reproduce the behavior:
- Give yourself C4-119
- Place it on the ground
- Run
.detonatein the console - Observe the error
Expected behavior The C4 charge detonates.
Server logs
There are no error logs in the server's console, but this shows in the in-game console:
EXILED Version ("latest" is not a version):
Exiled.Loader:4.1.6
Results of show plugins command in console:
https://paste.hep.gg/gymub.yaml
Additional context It should probably show a message saying "You don't have the detonator (Radio) in your hand!" if it is enabled.
You might have the config on that requires the player to have a radio on them. Check the C4 config and make sure require_detonator is set to false
You might have the config on that requires the player to have a radio on them. Check the C4 config and make sure require_detonator is set to false
I did notice this fact afterwards. Thank you! I would like to see maybe a message saying that they don't have the required item though.
Yeah, I had the same issue when I started using this plugin, that would also be cool if it told the player they need the specific item