mirror of
https://github.com/Threnklyn/MinecraftChat.git
synced 2026-05-28 08:48:30 +02:00
add new feature:
show position , health ,weather and food
This commit is contained in:
@@ -3,6 +3,10 @@ import login from './events/login';
|
||||
import spawn from './events/spawn';
|
||||
import message from './events/message';
|
||||
import end from './events/end';
|
||||
import death from './events/death';
|
||||
import rain from './events/rain';
|
||||
import health from './events/health';
|
||||
import move from './events/move';
|
||||
|
||||
// bind all listeners to the bot
|
||||
export default (socket) => {
|
||||
@@ -12,5 +16,9 @@ export default (socket) => {
|
||||
spawn(socket);
|
||||
message(socket);
|
||||
end(socket);
|
||||
|
||||
death(socket);
|
||||
rain(socket);
|
||||
move(socket);
|
||||
health(socket);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user