浏览代码

fixes #457

tags/v0.1.10
Big Bad Waffle 6 年前
父节点
当前提交
457af89be7
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. +1
    -1
      src/client/ui/templates/inventory/inventory.js
  2. +3
    -0
      src/server/components/auth.js

+ 1
- 1
src/client/ui/templates/inventory/inventory.js 查看文件

@@ -206,7 +206,7 @@ define([

var hoverCellItem = this.hoverCell.data('item');
if (hoverCellItem) {
if (hoverCellItem.name != this.dragItem.data('item').name) {
if ((hoverCellItem.name != this.dragItem.data('item').name) || (!hoverCellItem.quantity)) {
msgs.push({
id: hoverCellItem.id,
pos: this.hoverCell.index()


+ 3
- 0
src/server/components/auth.js 查看文件

@@ -258,6 +258,9 @@ define([
},

verifySkin: function (character) {
if (!character)
return;

var list = [...this.skins, ...roles.getSkins(this.username)];
var skinList = skins.getSkinList(list);



正在加载...
取消
保存