Skip to content

Commit

Permalink
Update JailbirdPatch.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka-ZeroTwo committed Jul 25, 2024
1 parent bb5996f commit 04fd581
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions EXILED/Exiled.Events/Patches/Events/Item/JailbirdPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ private static bool HandleJailbird(JailbirdItem instance, JailbirdMessageType me
ChargingJailbirdEventArgs ev = new(instance.Owner, instance);

Item.OnChargingJailbird(ev);
if (ev.IsAllowed)
return true;
instance.SendRpc(JailbirdMessageType.ChargeFailed, null);
return false;
return true;
}

default:
Expand Down

0 comments on commit 04fd581

Please sign in to comment.