Removed spawn event emitter

This commit is contained in:
AlexKvazos
2015-04-30 18:35:17 -05:00
parent 423beaf29c
commit b1d364a9e4
2 changed files with 0 additions and 5 deletions
-4
View File
@@ -6,10 +6,6 @@ module.exports = function($scope, socket) {
$scope.chat = '';
socket.on('bot:spawn', function() {
socket.emit('chat', { message: 'Connected via MinecraftChat - https://chat.alexkvazos.com' });
});
$scope.send = function() {
if ($scope.chat.trim().length > 0) {
-1
View File
@@ -5,7 +5,6 @@ module.exports = (socket) => {
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);
socket.emit('bot:spawn');
});
};