mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-22 20:26:22 +03:00
remove event.js
This commit is contained in:
parent
e5afd60ba3
commit
1a5d290cc8
2 changed files with 1 additions and 8 deletions
|
@ -1,7 +0,0 @@
|
||||||
const event = new (require('events')).EventEmitter();
|
|
||||||
event.on('newListener', event => {
|
|
||||||
if(event === 'start') {
|
|
||||||
process.emitWarning('The \'start\' event has been removed. Use \'data\' instead.', 'DeprecationWarning');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
module.exports = event;
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "minecraft-launcher-core",
|
"name": "minecraft-launcher-core",
|
||||||
"version": "3.0.0",
|
"version": "3.0.1",
|
||||||
"description": "Module that downloads Minecraft assets and runs Minecraft. Also Supports Forge",
|
"description": "Module that downloads Minecraft assets and runs Minecraft. Also Supports Forge",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue