Implement dungeon entry

This commit is contained in:
Melledy
2022-04-28 08:20:37 -07:00
parent fc9aa8ec24
commit 53cc1822f6
15 changed files with 285 additions and 48 deletions

View File

@@ -65,6 +65,7 @@ public final class Utils {
private static final char[] HEX_ARRAY = "0123456789abcdef".toCharArray();
public static String bytesToHex(byte[] bytes) {
if (bytes == null) return "";
char[] hexChars = new char[bytes.length * 2];
for (int j = 0; j < bytes.length; j++) {
int v = bytes[j] & 0xFF;