Add pvpAutoPause rule (#8249)

* Update Rules.java

* Update NetServer.java
This commit is contained in:
Даркнесс#3729
2023-02-09 06:44:07 +03:00
committed by GitHub
parent ce3643f0b3
commit 9c1f17fbdd
2 changed files with 5 additions and 3 deletions

View File

@@ -31,6 +31,8 @@ public class Rules{
public boolean waves;
/** Whether the game objective is PvP. Note that this enables automatic hosting. */
public boolean pvp;
/** Whether is waiting for players enabled in PvP. */
public boolean pvpAutoPause = true;
/** Whether to pause the wave timer until all enemies are destroyed. */
public boolean waitEnemies = false;
/** Determines if gamemode is attack mode. */