Added armor items and max stack size for them.

This commit is contained in:
Shoghi Cervantes
2014-12-04 00:04:09 +01:00
parent 1963d8fde0
commit 294e680d5d
23 changed files with 685 additions and 55 deletions

View File

@ -2182,7 +2182,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
}
if($this->currentTransaction === null or $this->currentTransaction->getCreationTime() < (microtime(true) - 0.4)){
if($this->currentTransaction === null or $this->currentTransaction->getCreationTime() < (microtime(true) - 0.5)){
if($this->currentTransaction instanceof SimpleTransactionGroup){
foreach($this->currentTransaction->getInventories() as $inventory){
if($inventory instanceof PlayerInventory){