diff --git a/Client/ClientMain.cs b/Client/ClientMain.cs index 83825a4..4e4e94f 100644 --- a/Client/ClientMain.cs +++ b/Client/ClientMain.cs @@ -189,12 +189,12 @@ private async Task FindVendingMachineTick() .OrderBy(p => Vector3.DistanceSquared(p.Position, plyPos)) .FirstOrDefault(); - if (prop is null) + if (prop is null || HasObjectBeenBroken(prop.Handle)) { await Delay(4000); return; } - + if (!NetworkGetEntityIsNetworked(prop.Handle)) NetworkRegisterEntityAsNetworked(prop.Handle); if (prop.State.Get("beingUsed") is null)