1
0
Fork 0

修复重复添加物品的bug,已经不更新背包的问题

kcx-1614
聪聪 2017-07-06 02:50:05 +08:00
parent 9dc4f12762
commit 8f7f315790
1 changed files with 0 additions and 1 deletions

View File

@ -24,7 +24,6 @@ public class ItemSnapshot{
public boolean apply(){
if(!this.mApply){
this.mApply=true;
this.mPlayer.inventory.addItemStackToInventory(this.mItem);
if(!this.mPlayer.inventory.addItemStackToInventory(this.mItem)){
this.mPlayer.worldObj.spawnEntityInWorld(