MultiServer: remove no longer needed value check from Set packet

This commit is contained in:
Fabian Dill
2022-03-04 22:48:27 +01:00
parent 73b14d3826
commit 69721d2d04
2 changed files with 5 additions and 4 deletions

View File

@@ -108,9 +108,10 @@ def get_any_version(data: dict) -> Version:
return Version(int(data["major"]), int(data["minor"]), int(data["build"]))
whitelist = {"NetworkPlayer": NetworkPlayer,
"NetworkItem": NetworkItem,
}
whitelist = {
"NetworkPlayer": NetworkPlayer,
"NetworkItem": NetworkItem,
}
custom_hooks = {
"Version": get_any_version