Added per world PVP setting support.

This commit is contained in:
Rigby
2011-04-29 23:34:37 +01:00
committed by EvilSeph
parent 5a5ce79035
commit f342db744a
4 changed files with 11 additions and 1 deletions

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;
}
}