mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 13:45:37 -04:00
Add Minecraft Version To The Server
Add the Minecraft version this example was built with to the create server function so that this example code works even if the default Minecraft version for this module changes.
This commit is contained in:
parent
f3a25af4dc
commit
8afeee014f
@ -6,6 +6,7 @@ var server = mc.createServer({
|
||||
encryption: true,
|
||||
host: '0.0.0.0',
|
||||
port: 25565,
|
||||
version:"1.12.1",
|
||||
});
|
||||
var chunk = new Chunk();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user