mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Improve how the data version is handled
This commit is contained in:
1 parent
7c58d22771
commit
dc293cd7ea
6 files changed
+21
-11
No files matched your search
@@ -39,7 +39,7 @@ public class NetMsgIdUtils {
|
||||
}
|
||||
|
||||
public static void dumpPacketIds() {
|
||||
try (FileWriter writer = new FileWriter("./MsgIds_" + GameConstants.VERSION + ".json")) {
|
||||
try (FileWriter writer = new FileWriter("./MsgIds_" + GameConstants.getGameVersion() + ".json")) {
|
||||
// Create sorted tree map
|
||||
Map<Integer, String> packetIds = msgIdMap.int2ObjectEntrySet().stream()
|
||||
.filter(e -> e.getIntKey() > 0)
|
||||
|
||||
Reference in new issue
Block a user