File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change
1
+ * @ pmmp/server-developers
Original file line number Diff line number Diff line change @@ -6,3 +6,10 @@ updates:
6
6
interval : monthly
7
7
time : " 10:00"
8
8
open-pull-requests-limit : 10
9
+ - package-ecosystem : github-actions
10
+ directory : " /"
11
+ schedule :
12
+ interval : monthly
13
+ groups :
14
+ github-actions :
15
+ patterns : ["*"]
Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ jobs:
11
11
php : ['8.2', '8.3']
12
12
name : PHP ${{ matrix.php }}
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
16
16
- name : Setup PHP
17
- uses : shivammathur/setup-php@2.29.0
17
+ uses : shivammathur/setup-php@2.31.1
18
18
with :
19
19
php-version : ${{ matrix.php }}
20
20
21
21
- name : Cache Composer packages
22
- uses : actions/cache@v3
22
+ uses : actions/cache@v4
23
23
with :
24
24
path : " ~/.cache/composer"
25
25
key : " php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}-v2"
Original file line number Diff line number Diff line change @@ -217,9 +217,9 @@ public function distance(Vector3 $pos) : float{
217
217
218
218
public function distanceSquared (Vector3 $ pos ) : float {
219
219
$ dx = $ this ->x - $ pos ->x ;
220
- $ dy = $ this ->y - $ pos ->y ;
221
- $ dz = $ this ->z - $ pos ->z ;
222
- return ($ dx * $ dx ) + ($ dy * $ dy ) + ($ dz * $ dz );
220
+ $ dy = $ this ->y - $ pos ->y ;
221
+ $ dz = $ this ->z - $ pos ->z ;
222
+ return ($ dx * $ dx ) + ($ dy * $ dy ) + ($ dz * $ dz );
223
223
}
224
224
225
225
public function maxPlainDistance (Vector3 |Vector2 |float $ x , float $ z = 0 ) : float {
You can’t perform that action at this time.
0 commit comments