mirror of
https://github.com/danbulant/flying-squid
synced 2026-07-06 11:40:46 +00:00
set a different port for the server with mineflayer test
This commit is contained in:
parent
44d721d2a5
commit
fe3afd1ce0
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ describe("Server with mineflayer connection", function() {
|
||||||
var options = {
|
var options = {
|
||||||
'motd': settings.motd,
|
'motd': settings.motd,
|
||||||
'max-players': settings.maxPlayers,
|
'max-players': settings.maxPlayers,
|
||||||
'port': settings.port,
|
'port': 25566,
|
||||||
'online-mode': false,
|
'online-mode': false,
|
||||||
gameMode:settings.gameMode,
|
gameMode:settings.gameMode,
|
||||||
logging:settings.logging,
|
logging:settings.logging,
|
||||||
|
|
@ -28,7 +28,7 @@ describe("Server with mineflayer connection", function() {
|
||||||
serv.on("listening",function(){
|
serv.on("listening",function(){
|
||||||
bot = mineflayer.createBot({
|
bot = mineflayer.createBot({
|
||||||
host: "localhost",
|
host: "localhost",
|
||||||
port: 25565,
|
port: 25566,
|
||||||
username: "echo"
|
username: "echo"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue