added toString to ServerPermissions

This commit is contained in:
hydrabolt
2015-10-03 20:30:53 +01:00
parent 4e117b85d9
commit 3869f584b6
2 changed files with 9 additions and 2 deletions

View File

@@ -46,6 +46,11 @@ var ServerPermissions = (function () {
value: function getBit(x) {
return (this.packed >>> x & 1) === 1;
}
}, {
key: "toString",
value: function toString() {
return this.name;
}
}]);
return ServerPermissions;