forked from MagicBane/Server
class and table schema now conform to JSON
This commit is contained in:
@@ -1703,7 +1703,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
Zone zone = ZoneManager.findSmallestZone(this.getLoc());
|
||||
|
||||
if (zone != null) {
|
||||
return zone.peaceZone == (byte) 1;
|
||||
return zone.peace_zone == (byte) 1;
|
||||
}
|
||||
|
||||
return false;
|
||||
@@ -1797,7 +1797,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
|
||||
//DeathShroud
|
||||
|
||||
if (zone.peaceZone == 0)
|
||||
if (zone.peace_zone == 0)
|
||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||
|
||||
//enable this to give players deathshroud if mobs kill player.
|
||||
@@ -1843,7 +1843,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
|
||||
//DeathShroud
|
||||
|
||||
if (zone.peaceZone == 0)
|
||||
if (zone.peace_zone == 0)
|
||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||
|
||||
if (doPVPEXP) {
|
||||
@@ -1898,7 +1898,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
killCleanup();
|
||||
Zone zone = ZoneManager.findSmallestZone(this.getLoc());
|
||||
|
||||
if (zone.peaceZone == 0)
|
||||
if (zone.peace_zone == 0)
|
||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
|
||||
|
||||
// Send death message if needed
|
||||
|
||||
Reference in New Issue
Block a user