mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-10 15:59:39 +00:00
Merge commit '2dc3cf816'
# Conflicts: # resources/vanilla
This commit is contained in:
commit
5b0964cec8
@ -294,7 +294,12 @@ class InventoryTransaction{
|
||||
|
||||
$this->shuffleActions();
|
||||
|
||||
try{
|
||||
$this->validate();
|
||||
}catch(TransactionValidationException $e){
|
||||
$this->sendInventories();
|
||||
throw $e;
|
||||
}
|
||||
|
||||
if(!$this->callExecuteEvent()){
|
||||
$this->sendInventories();
|
||||
|
Loading…
x
Reference in New Issue
Block a user