Skip to content

Commit 99fe822

Browse files
authored
Fix networking transclusions (FabricMC#560)
1 parent cdbb58d commit 99fe822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

develop/networking.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ It is important that you validate the content of the packet on the server side.
203203

204204
In this case, we validate if the entity exists based on its network ID.
205205

206-
@[code lang=java transclude={30-30}](@/reference/latest/src/main/java/com/example/docs/networking/basic/ExampleModNetworkingBasic.java)
206+
@[code lang=java transclude={19-19}](@/reference/latest/src/main/java/com/example/docs/networking/basic/ExampleModNetworkingBasic.java)
207207

208208
Additionally, the targeted entity has to be a living entity, and we restrict the range of the target entity from the
209209
player to 5.
210210

211-
@[code lang=java transclude={32-32}](@/reference/latest/src/main/java/com/example/docs/networking/basic/ExampleModNetworkingBasic.java)
211+
@[code lang=java transclude={22-22}](@/reference/latest/src/main/java/com/example/docs/networking/basic/ExampleModNetworkingBasic.java)
212212

213213
:::
214214

0 commit comments

Comments
 (0)