mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-23 17:23:24 -07:00
Compare commits
1 Commits
NewSoupVi-
...
NewSoupVi-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6e5d7f872 |
3
Utils.py
3
Utils.py
@@ -441,6 +441,9 @@ class RestrictedUnpickler(pickle.Unpickler):
|
|||||||
def find_class(self, module: str, name: str) -> type:
|
def find_class(self, module: str, name: str) -> type:
|
||||||
if module == "builtins" and name in safe_builtins:
|
if module == "builtins" and name in safe_builtins:
|
||||||
return getattr(builtins, name)
|
return getattr(builtins, name)
|
||||||
|
# used by OptionCounter
|
||||||
|
if module == "collections" and name == "Counter":
|
||||||
|
return collections.Counter
|
||||||
# used by MultiServer -> savegame/multidata
|
# used by MultiServer -> savegame/multidata
|
||||||
if module == "NetUtils" and name in {"NetworkItem", "ClientStatus", "Hint",
|
if module == "NetUtils" and name in {"NetworkItem", "ClientStatus", "Hint",
|
||||||
"SlotType", "NetworkSlot", "HintStatus"}:
|
"SlotType", "NetworkSlot", "HintStatus"}:
|
||||||
|
|||||||
@@ -295,7 +295,7 @@ class World(metaclass=AutoWorldRegister):
|
|||||||
future. Protocol level compatibility check moved to MultiServer.min_client_version.
|
future. Protocol level compatibility check moved to MultiServer.min_client_version.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
required_server_version: Tuple[int, int, int] = (0, 5, 0)
|
required_server_version: Tuple[int, int, int] = (0, 6, 2)
|
||||||
"""update this if the resulting multidata breaks forward-compatibility of the server"""
|
"""update this if the resulting multidata breaks forward-compatibility of the server"""
|
||||||
|
|
||||||
hint_blacklist: ClassVar[FrozenSet[str]] = frozenset()
|
hint_blacklist: ClassVar[FrozenSet[str]] = frozenset()
|
||||||
|
|||||||
Reference in New Issue
Block a user