MCPcopy Create free account
hub / github.com/EndstoneMC/endstone / __init__

Method __init__

endstone/plugin/plugin_loader.py:90–93  ·  view source on GitHub ↗
(self, server: Server)

Source from the content-addressed store, hash-verified

88 SUPPORTED_API = ["0.5", "0.6", "0.7", "0.8", "0.9", "0.10", "0.11"]
89
90 def __init__(self, server: Server):
91 PluginLoader.__init__(self, server)
92 self._invalidate_caches()
93 self._plugins = []
94
95 def _invalidate_caches(self):
96 importlib.invalidate_caches()

Callers

nothing calls this directly

Calls 1

_invalidate_cachesMethod · 0.95

Tested by

no test coverage detected