Skip to content

Commit f278a0b

Browse files
committed
Fixed outdated autogen stuff
1 parent 2a98eb7 commit f278a0b

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

Diff for: src/ShowStoreOfferPacket.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ class ShowStoreOfferPacket extends DataPacket implements ClientboundPacket{
2626
/**
2727
* @generate-create-func
2828
*/
29-
public static function create(string $offerId, bool $showAll) : self{
29+
public static function create(string $offerId, ShowStoreOfferRedirectType $redirectType) : self{
3030
$result = new self;
3131
$result->offerId = $offerId;
32-
$result->showAll = $showAll;
32+
$result->redirectType = $redirectType;
3333
return $result;
3434
}
3535

Diff for: src/types/ShowStoreOfferRedirectType.php

+3-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
<?php
22

33
/*
4+
* This file is part of BedrockProtocol.
5+
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/BedrockProtocol>
46
*
5-
* ____ _ _ __ __ _ __ __ ____
6-
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
7-
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
8-
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
9-
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
10-
*
11-
* This program is free software: you can redistribute it and/or modify
7+
* BedrockProtocol is free software: you can redistribute it and/or modify
128
* it under the terms of the GNU Lesser General Public License as published by
139
* the Free Software Foundation, either version 3 of the License, or
1410
* (at your option) any later version.
15-
*
16-
* @author PocketMine Team
17-
* @link http://www.pocketmine.net/
18-
*
19-
*
2011
*/
2112

2213
declare(strict_types=1);

0 commit comments

Comments
 (0)