Compare commits
3 Commits
6ab8c38109
...
v4.0.6-rec
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3adcdc46ba | ||
|
|
b6edc70594 | ||
| 9e7fb4d443 |
@@ -21,6 +21,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
|
# 直接加代理得了
|
||||||
|
env:
|
||||||
|
http_proxy: "http://172.17.0.1:7890"
|
||||||
|
https_proxy: "http://172.17.0.1:7890"
|
||||||
|
no_proxy: "localhost,127.0.0.1,*.lan"
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build --no-restore --configuration Release
|
run: dotnet build --no-restore --configuration Release
|
||||||
|
|||||||
@@ -13,8 +13,7 @@ class DistanceFilterPatch
|
|||||||
new CodeMatch(OpCodes.Ldc_I4_1),
|
new CodeMatch(OpCodes.Ldc_I4_1),
|
||||||
new CodeMatch(OpCodes.Stloc_0)
|
new CodeMatch(OpCodes.Stloc_0)
|
||||||
)
|
)
|
||||||
.RemoveInstruction()
|
.SetInstruction(
|
||||||
.InsertAndAdvance(
|
|
||||||
new CodeInstruction(OpCodes.Ldsfld,
|
new CodeInstruction(OpCodes.Ldsfld,
|
||||||
AccessTools.Field(typeof(PlayerManager), nameof(PlayerManager.lobbyDistanceFilter))))
|
AccessTools.Field(typeof(PlayerManager), nameof(PlayerManager.lobbyDistanceFilter))))
|
||||||
.InstructionEnumeration();
|
.InstructionEnumeration();
|
||||||
|
|||||||
Reference in New Issue
Block a user