Skip to content

Commit 4a13f83

Browse files
committed
Merge remote-tracking branch 'upstream/pm5' into pm5
2 parents 1b2186f + 2b2eb51 commit 4a13f83

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/muqsit/invmenu/InvMenu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ final public function send(Player $player, ?string $name = null, ?Closure $callb
151151
$network->dropPendingOfType(PlayerNetwork::DELAY_TYPE_OPERATION);
152152
}
153153

154-
$network->waitUntil(PlayerNetwork::DELAY_TYPE_OPERATION, 0, function(bool $success) use($player, $session, $name, $callback) : bool{
154+
$network->waitUntil(PlayerNetwork::DELAY_TYPE_OPERATION, 50 * 8, function(bool $success) use($player, $session, $name, $callback) : bool{
155155
if(!$success){
156156
if($callback !== null){
157157
$callback(false);

src/muqsit/invmenu/type/InvMenuTypeRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(){
2727
->setBlock(VanillaBlocks::CHEST())
2828
->setSize(54)
2929
->setBlockActorId("Chest")
30-
->setAnimationDuration(75)
30+
->setAnimationDuration(1)
3131
->build());
3232

3333
$this->register(InvMenuTypeIds::TYPE_HOPPER, InvMenuTypeBuilders::BLOCK_ACTOR_FIXED()

virion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: InvMenu
22
antigen: muqsit\invmenu
3-
api: 5.3.0
4-
version: 4.6.5
3+
api: 5.27.0
4+
version: 4.6.6
55
author: Muqsit

0 commit comments

Comments
 (0)