From 95ccd004a669359111076ca246370903cdba4166 Mon Sep 17 00:00:00 2001 From: Aether Date: Wed, 16 Oct 2024 16:55:49 -0400 Subject: [PATCH] fix server assets --- resources/resources/assets/minecraft/server/test.txt | 1 - .../v1_8/sp/server/EaglerIntegratedServerWorker.java | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 resources/resources/assets/minecraft/server/test.txt diff --git a/resources/resources/assets/minecraft/server/test.txt b/resources/resources/assets/minecraft/server/test.txt deleted file mode 100644 index 8def50d..0000000 --- a/resources/resources/assets/minecraft/server/test.txt +++ /dev/null @@ -1 +0,0 @@ -hello :3 \ No newline at end of file diff --git a/src/main/java/net/lax1dude/eaglercraft/v1_8/sp/server/EaglerIntegratedServerWorker.java b/src/main/java/net/lax1dude/eaglercraft/v1_8/sp/server/EaglerIntegratedServerWorker.java index ff392cc..06b6ffc 100644 --- a/src/main/java/net/lax1dude/eaglercraft/v1_8/sp/server/EaglerIntegratedServerWorker.java +++ b/src/main/java/net/lax1dude/eaglercraft/v1_8/sp/server/EaglerIntegratedServerWorker.java @@ -398,12 +398,7 @@ public class EaglerIntegratedServerWorker { } case IPCPacket1DUploadServerAsset.ID: { IPCPacket1DUploadServerAsset pkt = (IPCPacket1DUploadServerAsset)ipc; - if(!isServerStopped()) { - ServerAssets.uploadAsset(pkt.path, pkt.data); - }else { - logger.error("Client tried to upload asset while server was stopped"); - sendTaskFailed(); - } + ServerAssets.uploadAsset(pkt.path, pkt.data); break; } default: