Skip to content

Commit

Permalink
v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Feb 1, 2025
1 parent de1d419 commit 8479e9d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

# python
__pycache__
/*_cache
*_cache
4 changes: 2 additions & 2 deletions mcdreforged.plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "tpm",
"version": "0.5.0",
"version": "0.5.1",
"name": "TpManager",
"description": {
"en_us": "A Minecraft teleport manager",
Expand All @@ -10,7 +10,7 @@
"link": "https://github.com/kmcsr/tpmanager_mcdr",
"dependencies": {
"mcdreforged": "^2.3.0",
"kpi": "~1.4.12"
"kpi": "~1.5.0"
},
"resources": [
"LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion publisher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ cd $(dirname $0)
echo '==> Checking...'
echo

mypy . || exit $?
python3.11 -m mypy . || exit $?

echo '==> Reading plugin metadata...'
echo
Expand Down
4 changes: 2 additions & 2 deletions tpm/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def remove_point(self, name: str) -> WarpPoint | None:
return p
return None

def get_config():
return TPMConfig.instance
def get_config() -> TPMConfig:
return TPMConfig.instance()

def init(server: MCDR.PluginServerInterface):
global BIG_BLOCK_BEFOR, BIG_BLOCK_AFTER
Expand Down

0 comments on commit 8479e9d

Please sign in to comment.