mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
Merge branch 'stable' into next-minor
# Conflicts: # src/pocketmine/Player.php # src/pocketmine/block/SnowLayer.php
This commit is contained in:
@@ -293,7 +293,12 @@ class InventoryTransaction{
|
||||
|
||||
$this->shuffleActions();
|
||||
|
||||
$this->validate();
|
||||
try{
|
||||
$this->validate();
|
||||
}catch(TransactionValidationException $e){
|
||||
$this->sendInventories();
|
||||
throw $e;
|
||||
}
|
||||
|
||||
if(!$this->callExecuteEvent()){
|
||||
$this->sendInventories();
|
||||
|
Reference in New Issue
Block a user