Skip to content

Commit

Permalink
fixed NBT required by old tooltips are unreachable when the new mode …
Browse files Browse the repository at this point in the history
…is enabled
  • Loading branch information
Quarri6343 committed May 8, 2024
1 parent 051a7a3 commit 6bdc077
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ protected void channelRead0(ChannelHandlerContext ctx, Message0x01TERequest msg)
}
}

} else if ((hasNBTBlock || hasNBTEnt) && !msg.useNewAPI) {
}

//We will try to use old tooltips regardless of the mode
if ((hasNBTBlock || hasNBTEnt)) {
tag.setInteger("x", msg.posX);
tag.setInteger("y", msg.posY);
tag.setInteger("z", msg.posZ);
Expand Down

0 comments on commit 6bdc077

Please sign in to comment.