Skip to content

Commit 1d087e9

Browse files
authored
Update small-horses-own.md
1 parent a7d9a0c commit 1d087e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.changeset/small-horses-own.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"@latticexyz/cli": patch
44
---
55

6-
`mud` CLI commands will now recognize systems without a `System` suffix if they inherit directly from the base `System` imported from `@latticexyz/world/src/System.sol`.
6+
`mud` CLI commands will now recognize systems if they inherit directly from the base `System` imported from `@latticexyz/world/src/System.sol`, allowing you to write systems without a `System` suffix.
77

88
```solidity
99
import {System} from "@latticexyz/world/src/System.sol";
@@ -12,3 +12,5 @@ contract EntityProgram is System {
1212
...
1313
}
1414
```
15+
16+
If you have contracts that inherit from the base `System` that aren't meant to be deployed, you can mark them as `abstract contract` or [disable the system's deploy via config](https://mud.dev/config/reference).

0 commit comments

Comments
 (0)