Added per world PVP setting support.

By: Rigby <rigby@onarandombox.com>
This commit is contained in:
CraftBukkit/Spigot 2011-04-29 23:34:37 +01:00
parent c1e9a053fb
commit 4ae1ef6d1d

View file

@ -612,4 +612,12 @@ public class CraftWorld implements World {
public long getSeed() {
return world.worldData.b();
}
public boolean getPVP() {
return world.pvpMode;
}
public void setPVP(boolean pvp) {
world.pvpMode = pvp;
}
}