Skip to content

Commit

Permalink
Any value may be used to reset the block break animation (not just 255)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johni0702 committed Apr 1, 2015
1 parent f5d3e69 commit 3295730
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -43,6 +43,9 @@ public void read(NetInput in) throws IOException {
this.breakerEntityId = in.readVarInt();
this.position = NetUtil.readPosition(in);
this.stage = MagicValues.key(BlockBreakStage.class, in.readUnsignedByte());
if (this.stage == null) {
this.stage = BlockBreakStage.RESET;
}
}

@Override
Expand Down

0 comments on commit 3295730

Please sign in to comment.