From 2d787de93982939d283887ff4db046d19565e1fd Mon Sep 17 00:00:00 2001 From: CWX Date: Sat, 11 Jun 2022 22:25:07 +0100 Subject: [PATCH] fix for shoreline --- .../bepInEx/plugins/CWX-BushWhacker.dll | Bin 0 -> 6144 bytes .../user/mods/CWX-BushWhacker 1.0.1}/LICENSE.txt | 4 ++-- .../user/mods/CWX-BushWhacker 1.0.1}/package.js | 0 .../mods/CWX-BushWhacker 1.0.1}/package.json | 4 ++-- .../bepInEx/plugins/CWX-BushWhacker.dll | Bin 5632 -> 0 bytes Live/CWX_BushWhacker/Patch.cs | 2 +- Live/CWX_BushWhacker/Plugin.cs | 11 +++++++---- 7 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 Live/CWX_BushWhacker/CWX-BushWhacker 1.0.1/bepInEx/plugins/CWX-BushWhacker.dll rename Live/CWX_BushWhacker/{CWX-BushWhacker 1.1.0/user/mods/CWX-BushWhacker 1.1.0 => CWX-BushWhacker 1.0.1/user/mods/CWX-BushWhacker 1.0.1}/LICENSE.txt (92%) rename Live/CWX_BushWhacker/{CWX-BushWhacker 1.1.0/user/mods/CWX-BushWhacker 1.1.0 => CWX-BushWhacker 1.0.1/user/mods/CWX-BushWhacker 1.0.1}/package.js (100%) rename Live/CWX_BushWhacker/{CWX-BushWhacker 1.1.0/user/mods/CWX-BushWhacker 1.1.0 => CWX-BushWhacker 1.0.1/user/mods/CWX-BushWhacker 1.0.1}/package.json (67%) delete mode 100644 Live/CWX_BushWhacker/CWX-BushWhacker 1.1.0/bepInEx/plugins/CWX-BushWhacker.dll diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.0.1/bepInEx/plugins/CWX-BushWhacker.dll b/Live/CWX_BushWhacker/CWX-BushWhacker 1.0.1/bepInEx/plugins/CWX-BushWhacker.dll new file mode 100644 index 0000000000000000000000000000000000000000..4ca14c92fca431dbc00f916df2bc0f272d341917 GIT binary patch literal 6144 zcmeHLTWlO>6+SaNyS6v+I$mGe)NV3~6S^ev$WGE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AEbuhM>j2XnN-ZsDno z)uh0eN?ERN7BcS?dKHbJepOWU%CFMjiNT}SeB9ZO~>}MF~c@oGf!iB(U^zU zB8?gTl;JNs0?X)bp-QK1?uu%?(!_}Al^jp750!1-EE<{Bk}^$@i6 z!U=oHaf>=fRJT4*YuK@u%tF}}dNm`%PO)TKf_ccW^c8`5HF?G3Sr;kI`!&I=?&p_h z9nW7fS8CjfI-Aw))tVs8kKp@e&a{w;0rjr;v7C$K^>KE&v~tmS-5Qs}WN#*vN;O_bRMPXo4gg?wsMCH1mcR&P{|0 z!C}%Ai-;owY6w#wqESo7;frbG>!$6AB^oRU5ugI*YDmH-k+>Om#8}eHmXAiol4BdT zFH}pqTS14*ZVh*^WNFUVU7s=z?;l9jNn@IC!y@SE6{=3MQFBFXKwUG~Bge4U7YQqp zd|)o1L5n!VaSdu&A`>T74jkrFGt*Uy-g{x~r{6xFo4C+?<%#n@IE$@Tm88aqN>UU^ zYb%q9m>Q81iGWNlkTSH?O{sPEpIBTG4WtiKl`!+5)<_j*f=S#dMHw zdf+vZreNc9J zlY1~Lf{?WhfB)@!g?gQWR$9aXIX<}e*4rp_VDHAz0UqRcTTe9n{I+5LVdI{QZ-oyv z_V~|?tBkELl?PoQIffH&#ImNan1dtPFvRv3wp-f?GvTXvy{S()|8EiC7XcC8!l$nt zIqxfko9cQ#>y6`E7$AC|7i3u8m-()G1iSSyz%=gVb2Nc}TBboy0FDO#y3kLQzg!LO zz1%~9as3$vCi%sQ{mrOxo4rJ9iG4ZLcO;A^--(EjOY##-$7)@gP%oY-@+(W f%sh@>Ez-3%9P5u+QN#ZX@A;Vd{fWE(l?eO`(dw{` literal 0 HcmV?d00001 diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.1.0/user/mods/CWX-BushWhacker 1.1.0/LICENSE.txt b/Live/CWX_BushWhacker/CWX-BushWhacker 1.0.1/user/mods/CWX-BushWhacker 1.0.1/LICENSE.txt similarity index 92% rename from Live/CWX_BushWhacker/CWX-BushWhacker 1.1.0/user/mods/CWX-BushWhacker 1.1.0/LICENSE.txt rename to Live/CWX_BushWhacker/CWX-BushWhacker 1.0.1/user/mods/CWX-BushWhacker 1.0.1/LICENSE.txt index cc68bd7..0e4432a 100644 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.1.0/user/mods/CWX-BushWhacker 1.1.0/LICENSE.txt +++ b/Live/CWX_BushWhacker/CWX-BushWhacker 1.0.1/user/mods/CWX-BushWhacker 1.0.1/LICENSE.txt @@ -4,8 +4,8 @@ Copyright (c) [year] [fullname]. All rights reserved. Developed by: [CWX] - [https://github.com/CWXDEV/CWX-DeSharpener] - [https://hub.sp-tarkov.com/files/file/455-cwx-desharpener/] + [https://dev.sp-tarkov.com/CWX/CWX-BushWhacker] + [https://hub.sp-tarkov.com/files/file/519-cwx-masterkey/] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.1.0/user/mods/CWX-BushWhacker 1.1.0/package.js b/Live/CWX_BushWhacker/CWX-BushWhacker 1.0.1/user/mods/CWX-BushWhacker 1.0.1/package.js similarity index 100% rename from Live/CWX_BushWhacker/CWX-BushWhacker 1.1.0/user/mods/CWX-BushWhacker 1.1.0/package.js rename to Live/CWX_BushWhacker/CWX-BushWhacker 1.0.1/user/mods/CWX-BushWhacker 1.0.1/package.js diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.1.0/user/mods/CWX-BushWhacker 1.1.0/package.json b/Live/CWX_BushWhacker/CWX-BushWhacker 1.0.1/user/mods/CWX-BushWhacker 1.0.1/package.json similarity index 67% rename from Live/CWX_BushWhacker/CWX-BushWhacker 1.1.0/user/mods/CWX-BushWhacker 1.1.0/package.json rename to Live/CWX_BushWhacker/CWX-BushWhacker 1.0.1/user/mods/CWX-BushWhacker 1.0.1/package.json index d1b8313..d31821c 100644 --- a/Live/CWX_BushWhacker/CWX-BushWhacker 1.1.0/user/mods/CWX-BushWhacker 1.1.0/package.json +++ b/Live/CWX_BushWhacker/CWX-BushWhacker 1.0.1/user/mods/CWX-BushWhacker 1.0.1/package.json @@ -1,9 +1,9 @@ { "name": "BUSHWHACKER", "author": "CWX", - "version": "1.1.0", + "version": "1.0.1", "license": "NCSA", "main": "package.js", - "akiVersion": "3.0.0" + "akiVersion": "2.3.1" } diff --git a/Live/CWX_BushWhacker/CWX-BushWhacker 1.1.0/bepInEx/plugins/CWX-BushWhacker.dll b/Live/CWX_BushWhacker/CWX-BushWhacker 1.1.0/bepInEx/plugins/CWX-BushWhacker.dll deleted file mode 100644 index 6779567d8dbd8d2c35d69c6b8fafbfb6e153f427..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5632 zcmeHLYiu0V75-*+y><-oWBnk(A=zLmOpLd7;_xc8eyyD?ev!44&~Aul*W>k&*_qAE ztYha#6JN}2rK+Gsp!OGP3lgGgMO7hMfhwW)Pm!v&qBJ7?&Yf9% zNm^*7{z2_s&$;KEd+xdCo_p@O_j=|F-#`pNoZrQZ!1Ju7j41fg;4GV4_Po%7XScn& z_jzsl)x8U=mY=G4ZpkyssiNUHZjdUNDX;3JEGIQFmrIr1Wi!2fd-HXX>iG;Xt;Nv1 zzwyc1Xm8=#)D_wwm6MYQxqrQpb&B5zKcG$FdT6&WA~E1B3G$`Hu=Ie4%HLKUk-}nm zl6vO^83B%oBQ7mVz?I}Z-485W+V)X&3TUcpZz6rDj!p;WdO-SuC}*3RYh*VmRZ_rG z+Vj04DP`LT5m_iTAJ$PBq4jCcv|S2{IxO)MU7h^u$_Ox4M=JDn&R>eyrlSE%dxg(_09Q&_8quWK+mHqjo-q%fRJGQx3v37R| z*eT#@0`CCFb9;yl?EU8g<28YP?W&G=d;G?2*w)9%&>f&|+S@$v&EK{r^$)sfUXQz5 zn%>+8jaKWp8rE09=>VL^9%u~z(oDiS!MJ*X#e zgT9me7d3(F3O=Ub`wAW+Y{q%LLdiCTcMxyEAN70UEqI?Wi5wUS=)o;W!iX*Dcj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bushes.Count); foreach (var bushesItem in bushes) { - if (bushesItem.transform.parent.gameObject.name.Contains("filbert") || bushesItem.transform.parent.gameObject.name.Contains("fibert")) + Debug.LogError("1"); + var filbert = bushesItem?.transform?.parent?.gameObject?.name?.Contains("filbert"); + var fibert = bushesItem?.transform?.parent?.gameObject?.name?.Contains("fibert"); + if (filbert == true || fibert == true) { - Object.DestroyImmediate(bushesItem); + DestroyImmediate(bushesItem); } } }