mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-19 06:21:08 +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 = {
|
||||
'motd': settings.motd,
|
||||
'max-players': settings.maxPlayers,
|
||||
'port': settings.port,
|
||||
'port': 25566,
|
||||
'online-mode': false,
|
||||
gameMode:settings.gameMode,
|
||||
logging:settings.logging,
|
||||
|
|
@ -28,7 +28,7 @@ describe("Server with mineflayer connection", function() {
|
|||
serv.on("listening",function(){
|
||||
bot = mineflayer.createBot({
|
||||
host: "localhost",
|
||||
port: 25565,
|
||||
port: 25566,
|
||||
username: "echo"
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue