Hello,
I figured out a bug that occurs when using `AddAction` function from `modutil.lua`. If I write the file `modmain.lua` with only this line:
```
AddAction("MYACTION", "My Action", function(_act) return false end)
```
then when running a server with caves (or a dedicated server), WX78 right click actions to use block or shock are not available anymore.
PS: I have no idea if the function `AddAction` must also be used on server side. I just wanted to create actions with custom names that map to vanilla actions...
Best regards,
Asere
- Define a client mod with only this line in `modmain.lua`
```
AddAction("MYACTION", "My Action", function(_act) return false end)
```
- Start a server with caves or a dedicated server and take WX78 as character
- Insert a block or shock circuit
You cannot right click on WX78 to block or shock
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now