mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
Added per world PVP setting support.
By: Rigby <rigby@onarandombox.com>
This commit is contained in:
parent
c1e9a053fb
commit
4ae1ef6d1d
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user