Skip to content

Commit

Permalink
Fix wrong method name in packet hook patch - getChannel -> getChannel…
Browse files Browse the repository at this point in the history
…Name
  • Loading branch information
LunNova committed Jun 23, 2017
1 parent 4f86e01 commit 2764b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/packethook.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<patchGroups>
<minecraft>
<class id="net.minecraft.network.play.server.SPacketCustomPayload">
<addMethod code="public String ^method:SPacketCustomPayload/getChannel^() { return this.^field:SPacketCustomPayload/channel^; }"/>
<addMethod code="public String ^method:SPacketCustomPayload/getChannelName^() { return this.^field:SPacketCustomPayload/channel^; }"/>
</class>
<class id="net.minecraft.network.NettyPacketEncoder">
<replaceMethodCall method="^method:Packet/writePacketData^"
Expand Down

0 comments on commit 2764b60

Please sign in to comment.