mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 05:35:56 -04:00
Fix some version related problems (in test.js and circle.yml)
This commit is contained in:
parent
9c35951d15
commit
57f5b9d23d
@ -1,6 +1,6 @@
|
||||
machine:
|
||||
environment:
|
||||
MC_SERVER_JAR: /home/ubuntu/node-minecraft-protocol/minecraft-server/minecraft_server.1.8.3.jar
|
||||
MC_SERVER_JAR: /home/ubuntu/node-minecraft-protocol/minecraft-server/minecraft_server.jar
|
||||
node:
|
||||
version: 0.10.28
|
||||
java:
|
||||
|
@ -546,9 +546,9 @@ describe("mc-server", function() {
|
||||
assert.ok(results.latency <= 1000);
|
||||
delete results.latency;
|
||||
assert.deepEqual(results, {
|
||||
version: { //TODO : Make this dynamic, based on protocol.version
|
||||
name: "1.8.1",
|
||||
protocol: 47
|
||||
version: {
|
||||
name: mc.minecraftVersion,
|
||||
protocol: mc.version
|
||||
},
|
||||
players: {
|
||||
max: 120,
|
||||
|
Loading…
x
Reference in New Issue
Block a user