Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
update README example
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Jun 25, 2023
1 parent 815b90e commit 871a09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protocolManager.addPacketListener(object : PacketAdapter(

```kotlin
protocolManager(pluginRef) {
onSend<ClientboundAddMobPacketWrap> { wrap ->
onSend<ClientboundAddEntityPacketWrap> { wrap ->
if (entity(wrap.id).isCustomMob)
wrap.type = Registry.ENTITY_TYPE.getId(NMSEntityType.ZOMBIE)
}
Expand Down

0 comments on commit 871a09c

Please sign in to comment.