mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-29 06:03:33 -04:00
use es6 properties in protocol.js
This commit is contained in:
parent
5aee0000e4
commit
8aa0d786f0
@ -52,8 +52,10 @@ function extendType(functions, defaultTypeArgs) {
|
||||
|
||||
class NMProtocols
|
||||
{
|
||||
types={};
|
||||
|
||||
constructor() {
|
||||
this.types = {};
|
||||
|
||||
}
|
||||
|
||||
addType(name, functions) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user