1
0
forked from xjboss/KCauldronX

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

This commit is contained in:
聪聪 2017-07-06 02:50:05 +08:00
parent 9dc4f12762
commit 8f7f315790

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(