Added per world PVP setting support.

This commit is contained in:
Rigby
2011-04-30 00:03:36 +01:00
committed by EvilSeph
parent 2b408e236a
commit d9593800e6

View File

@@ -496,6 +496,18 @@ public interface World {
*/
public long getSeed();
/**
* Gets the current PVP setting for this world.
* @return
*/
public boolean getPVP();
/**
* Sets the PVP setting for this world.
* @param pvp True/False whether PVP should be Enabled.
*/
public void setPVP(boolean pvp);
/**
* Saves world to disk
*/