fix server assets
This commit is contained in:
parent
3ef2c9c6bc
commit
95ccd004a6
|
@ -1 +0,0 @@
|
||||||
hello :3
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue