mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
api.md: clarify get_required_client_version (#334)
This commit is contained in:
@@ -408,6 +408,8 @@ In addition the following methods can be implemented
|
|||||||
* `def get_required_client_version(self)`
|
* `def get_required_client_version(self)`
|
||||||
can return a tuple of 3 ints to make sure the client is compatible to this
|
can return a tuple of 3 ints to make sure the client is compatible to this
|
||||||
world (e.g. item IDs) when connecting.
|
world (e.g. item IDs) when connecting.
|
||||||
|
Always use `return max((x,y,z), super().get_required_client_version())`
|
||||||
|
to catch updates in the lower layers that break compatibility.
|
||||||
|
|
||||||
#### generate_early
|
#### generate_early
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user