From 97e61073f18d109c847eb31c250a10c9c8e63403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E9=9B=A8=E8=90=BD?= Date: Wed, 9 Oct 2024 21:03:45 +0800 Subject: [PATCH] Fix travelling between dimensions by command. (Closes #1512) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 秋雨落 --- .../common/mixin/core/server/management/PlayerListMixin.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arclight-common/src/main/java/io/izzel/arclight/common/mixin/core/server/management/PlayerListMixin.java b/arclight-common/src/main/java/io/izzel/arclight/common/mixin/core/server/management/PlayerListMixin.java index 04e0e845a..feaaec8ef 100644 --- a/arclight-common/src/main/java/io/izzel/arclight/common/mixin/core/server/management/PlayerListMixin.java +++ b/arclight-common/src/main/java/io/izzel/arclight/common/mixin/core/server/management/PlayerListMixin.java @@ -265,11 +265,6 @@ public ServerPlayer respawn(ServerPlayer entityplayer, boolean flag, Entity.Remo } public ServerPlayer respawn(ServerPlayer playerIn, boolean flag, Entity.RemovalReason removalReason, PlayerRespawnEvent.RespawnReason respawnReason, Location location) { - if (true) { // TODO remove on next update - arclight$respawnReason = respawnReason; - arclight$loc = location; - return this.respawn(playerIn, flag, removalReason); - } if (respawnReason == null && location != null) { // TODO if (bridge$platform$onTravelToDimension(playerIn, ((CraftWorld) location.getWorld()).getHandle().dimension)) {