chore(release): cut edge over to main — protocols 3–12 and the first release (rust phase 18, D145) #14
@@ -1446,7 +1446,12 @@ namespace Oxide.Plugins
|
||||
frame["ownerId"] = entity.OwnerID.ToString();
|
||||
frame["prefab"] = entity.ShortPrefabName;
|
||||
frame["structure"] = structure;
|
||||
frame["attackerId"] = attacker.UserIDString;
|
||||
|
||||
// From `userID`, not `UserIDString`. The string is filled in when a player connects,
|
||||
// loads as a sleeper, or is an engine bot — and at no other time, so a player another
|
||||
// plugin spawned carries none. The website skips the raid alert when the attacker is
|
||||
// authorised on the cupboard (PLAN.md D59), and a null here would quietly defeat that.
|
||||
frame["attackerId"] = ((ulong)attacker.userID).ToString();
|
||||
frame["attackerName"] = attacker.displayName;
|
||||
|
||||
string grid = GridOf(entity);
|
||||
|
||||
Reference in New Issue
Block a user