From 09500d47a6bd2cecae306a1933a54421ab93b080 Mon Sep 17 00:00:00 2001 From: Lawaxi <2330234142@qq.com> Date: Mon, 9 Jan 2023 22:46:29 +0800 Subject: [PATCH] 1.11.1 --- gradle.properties | 2 +- src/main/java/net/lawaxi/serverbase/commands/here.java | 2 +- src/main/resources/fabric.mod.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 2609be5..29e757b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ minecraft_version=1.19.3 yarn_mappings=1.19.3+build.5 loader_version=0.14.12 # Mod Properties -mod_version=1.11.0 +mod_version=1.11.1 maven_group=net.lawaxi archives_base_name=serverbase # Dependencies diff --git a/src/main/java/net/lawaxi/serverbase/commands/here.java b/src/main/java/net/lawaxi/serverbase/commands/here.java index aed1848..0fbfe3b 100644 --- a/src/main/java/net/lawaxi/serverbase/commands/here.java +++ b/src/main/java/net/lawaxi/serverbase/commands/here.java @@ -42,7 +42,7 @@ public static void register(CommandDispatcher dispatcher) { } } else if (player.getWorld() == player.getServer().getWorld(World.NETHER)) { - for (ServerPlayerEntity PLA : player.getWorld().getPlayers()) { + for (ServerPlayerEntity PLA : player.getServer().getPlayerManager().getPlayerList()) { PLA.sendMessage( Text.literal(messages.get(70, PLA.getGameProfile().getName()) .replace("%x%", deal(player.getX())) diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 620f126..b89f22b 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,7 +1,7 @@ { "schemaVersion": 1, "id": "serverbase", - "version": "1.11.0", + "version": "1.11.1", "name": "Lawaxi Server Base", "description": "ServerBase Mod for Lawaxi", "authors": [