Skip to content

Commit 29b2f5c

Browse files
authored
Merge pull request #762 from Kr4ken-9/master
Make uEssentials Compile Again
2 parents 87a0642 + 88998a1 commit 29b2f5c

14 files changed

Lines changed: 24 additions & 18 deletions

lib/Assembly-CSharp-firstpass.dll

73.5 KB
Binary file not shown.

lib/Assembly-CSharp.dll

88.5 KB
Binary file not shown.

lib/Newtonsoft.Json.dll

0 Bytes
Binary file not shown.

lib/Rocket.API.dll

512 Bytes
Binary file not shown.

lib/Rocket.Core.dll

3 KB
Binary file not shown.

lib/Rocket.Unturned.dll

-1.5 KB
Binary file not shown.

lib/UnityEngine.CoreModule.dll

834 KB
Binary file not shown.

lib/UnityEngine.PhysicsModule.dll

88.2 KB
Binary file not shown.

lib/UnityEngine.dll

-1.08 MB
Binary file not shown.

src/Commands/MiscCommands.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,13 +828,13 @@ private CommandResult RefuelGeneratorCommand(ICommandSource src, ICommandArgs ar
828828
}
829829

830830
var count = 0;
831-
var rayResult = Physics.SphereCastAll(position, radius, Vector3.forward, RayMasks.BARRICADE);
831+
var rayResult = Physics.SphereCastAll(position, radius, Vector3.forward, RayMasks.BARRICADE_INTERACT);
832832

833833
rayResult
834834
.Select(r => r.transform.GetComponent<InteractableGenerator>())
835835
.Where(r => r != null)
836836
.ForEach(r => {
837-
BarricadeManager.sendFuel(r.transform, (ushort) Math.Floor(r.capacity * percentage));
837+
BarricadeManager.sendFuel(r.transform, (ushort) System.Math.Floor(r.capacity * percentage));
838838
count++;
839839
});
840840

0 commit comments

Comments
 (0)