diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 973c5030d..5fc0f2b81 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -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){ diff --git a/src/pocketmine/item/Armor.php b/src/pocketmine/item/Armor.php new file mode 100644 index 000000000..f625e7cea --- /dev/null +++ b/src/pocketmine/item/Armor.php @@ -0,0 +1,31 @@ +