mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-24 17:21:43 +00:00
update to nmp 0.16.2
This commit is contained in:
parent
5282dd84a4
commit
3f7853c95b
2 changed files with 2 additions and 11 deletions
|
|
@ -24,7 +24,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-runtime": "^5.4.4",
|
"babel-runtime": "^5.4.4",
|
||||||
"minecraft-data": "0.7.0",
|
"minecraft-data": "0.7.0",
|
||||||
"minecraft-protocol": "0.16.0",
|
"minecraft-protocol": "0.16.2",
|
||||||
"mkdirp": "0.5.1",
|
"mkdirp": "0.5.1",
|
||||||
"moment": "^2.10.6",
|
"moment": "^2.10.6",
|
||||||
"node-dir": "~0.1.9",
|
"node-dir": "~0.1.9",
|
||||||
|
|
|
||||||
|
|
@ -105,16 +105,7 @@ module.exports.player=function(player,serv)
|
||||||
|
|
||||||
function fillTabList()
|
function fillTabList()
|
||||||
{
|
{
|
||||||
if(player._client.profile)
|
player.profileProperties=player._client.profile ? player._client.profile.properties : [];
|
||||||
player.profileProperties=player._client.profile.properties
|
|
||||||
.map(property => ({
|
|
||||||
name:property.name,
|
|
||||||
value:property.value,
|
|
||||||
isSigned:true,
|
|
||||||
signature:property.signature
|
|
||||||
}));
|
|
||||||
else
|
|
||||||
player.profileProperties=[];
|
|
||||||
|
|
||||||
player._writeOthers('player_info',{
|
player._writeOthers('player_info',{
|
||||||
action: 0,
|
action: 0,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue