File tree Expand file tree Collapse file tree
Plugin/src/main/java/dev/lrxh/neptune/game/arena Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,6 +256,10 @@ public void setMax(Location max) {
256256 capture ();
257257 }
258258
259+ public void setMaxDirect (Location max ) {
260+ this .max = max ;
261+ }
262+
259263 public void setRedSpawn (Location redSpawn ) {
260264 this .redSpawn = redSpawn ;
261265 if (buildLimit == 68321 ) {
Original file line number Diff line number Diff line change @@ -91,10 +91,17 @@ public void run() {
9191 new NeptuneRunnable () {
9292 @ Override
9393 public void run () {
94- arena .setMax (player .getLocation ());
94+ if (firstSetup ) {
95+ arena .setMaxDirect (player .getLocation ());
96+ } else {
97+ arena .setMax (player .getLocation ());
98+ }
9599 if (firstSetup && Neptune .get ().isDuplicatesEnabled ()) {
96100 ArenaService .get ().createDuplicate (arena );
97101 }
102+ if (firstSetup ) {
103+ arena .capture ();
104+ }
98105 new NeptuneRunnable () {
99106 @ Override
100107 public void run () {
You can’t perform that action at this time.
0 commit comments