File tree 2 files changed +4
-5
lines changed
Sources/Core/Sources/Network/Protocol/Packets/Play/Clientbound
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
test-macos :
10
- runs-on : macOS-11
10
+ runs-on : macOS-12
11
11
steps :
12
12
- name : Checkout
13
13
uses : actions/checkout@v2
14
- - name : Force Xcode 13 .2
15
- run : sudo xcode-select -switch /Applications/Xcode_13 .2.app
14
+ - name : Force Xcode 14 .2
15
+ run : sudo xcode-select -switch /Applications/Xcode_14 .2.app
16
16
- name : Version
17
17
run : swift --version
18
18
- name : Test
Original file line number Diff line number Diff line change @@ -49,9 +49,8 @@ public struct ChunkDataPacket: ClientboundPacket {
49
49
blockEntities = [ ]
50
50
blockEntities. reserveCapacity ( numBlockEntities)
51
51
for _ in 0 ..< numBlockEntities {
52
- let blockEntityNBT = try ! packetReader. readNBTCompound ( )
53
52
do {
54
-
53
+ let blockEntityNBT = try packetReader . readNBTCompound ( )
55
54
let x : Int32 = try blockEntityNBT. get ( " x " )
56
55
let y : Int32 = try blockEntityNBT. get ( " y " )
57
56
let z : Int32 = try blockEntityNBT. get ( " z " )
You can’t perform that action at this time.
0 commit comments