Updated readme screenshot

This commit is contained in:
AlexKvazos
2015-04-30 18:33:15 -05:00
parent 810eb6fca6
commit 423beaf29c
16 changed files with 31 additions and 33 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
module.exports = function(socket) {
module.exports = (socket) => {
// spawn event
socket.mcbot.on('spawn', function() {
socket.mcbot.on('spawn', () => {
var pos = socket.mcbot.entity.position;
socket.emit('buffer:info', 'Spawned at X:' + pos.x + ', Y:' + pos.y + ', Z:' + pos.z);
socket.emit('bot:players', socket.mcbot.players);