Add tests for CashShopSurpriseHandler

This commit is contained in:
P0nk
2024-06-16 13:40:06 +02:00
parent c7b2d218ef
commit 6ab1af99da
11 changed files with 162 additions and 9 deletions

View File

@@ -82,6 +82,11 @@ public class ByteBufInPacket implements InPacket {
return byteBuf.readerIndex();
}
@Override
public boolean equals(Object o) {
return o instanceof ByteBufInPacket other && byteBuf.equals(other.byteBuf);
}
@Override
public String toString() {
final int readerIndex = byteBuf.readerIndex();