what? This patch is good i have test no probleme. I dont understand.
if (living.CurrentRegionID == 51)
You hard coded region 51 to pay attention to PVP rules. This is arbitrary to your needs, not live like, and would never be placed in the core. I don't even know what region 51 is!