From 6be497878c86c865778debe2c9c4101635c5e713 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 26 Feb 2023 15:44:51 -0500 Subject: [PATCH] cleanup --- core/src/mindustry/net/Dns.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/net/Dns.java b/core/src/mindustry/net/Dns.java index 749a75bcce..5fdd06678c 100644 --- a/core/src/mindustry/net/Dns.java +++ b/core/src/mindustry/net/Dns.java @@ -119,7 +119,7 @@ public class Dns{ result.getShort(); // OFFSET int answerType = result.getShort() & 0xFFFF; // Type result.getShort(); // Class - long ttl = result.getInt() & 0xFFFFFFFFL; // TTL + result.getInt(); // TTL int length = result.getShort() & 0xFFFF; // Data length // Optionally CNAME results will be returned with the A results, skip those