fix server assets

This commit is contained in:
Aether 2024-10-16 16:55:49 -04:00
parent 3ef2c9c6bc
commit 95ccd004a6
2 changed files with 1 additions and 7 deletions

View File

@ -1 +0,0 @@
hello :3

View File

@ -398,12 +398,7 @@ public class EaglerIntegratedServerWorker {
} }
case IPCPacket1DUploadServerAsset.ID: { case IPCPacket1DUploadServerAsset.ID: {
IPCPacket1DUploadServerAsset pkt = (IPCPacket1DUploadServerAsset)ipc; IPCPacket1DUploadServerAsset pkt = (IPCPacket1DUploadServerAsset)ipc;
if(!isServerStopped()) { ServerAssets.uploadAsset(pkt.path, pkt.data);
ServerAssets.uploadAsset(pkt.path, pkt.data);
}else {
logger.error("Client tried to upload asset while server was stopped");
sendTaskFailed();
}
break; break;
} }
default: default: