menu
#4873648 Cannot use pocketmine\network\mcpe\protocol\types\inventory\InventoryTransactionChangedSlotsHack as InventoryTransactionChangedSlotsHack because the name is already in use

Submitted by PocketMine-MP 3.19.0

General information

Version: 3.19.0
Git commit: b307cd0a
Plugin involvement: Direct
Report date: 2021-04-07 19:45:56 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 7.4.14
Operating system: linux
System banner: Linux v3108 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot use pocketmine\network\mcpe\protocol\types\inventory\InventoryTransactionChangedSlotsHack as InventoryTransactionChangedSlotsHack because the name is already in use
File: plugins/PM-Beacons-master/src/jasonwynn10/beacon/packet/InventoryTransactionPacketV2
Line: #16
Error level: E_COMPILE_ERROR
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
use pocketmine\network\mcpe\protocol\types\inventory\MismatchTransactionData;
use pocketmine\network\mcpe\protocol\types\inventory\NormalTransactionData;
use pocketmine\network\mcpe\protocol\types\inventory\ReleaseItemTransactionData;
use pocketmine\network\mcpe\protocol\types\inventory\TransactionData;
use pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData;
use pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData;
use UnexpectedValueException as PacketDecodeException;
use jasonwynn10\beacon\inventory\action\CustomInventoryAction;
use pocketmine\network\mcpe\protocol\InventoryTransactionPacket;
use pocketmine\network\mcpe\protocol\types\inventory\InventoryTransactionChangedSlotsHack;
use function count;

class InventoryTransactionPacketV2 extends InventoryTransactionPacket {
public const NETWORK_ID = ProtocolInfo::INVENTORY_TRANSACTION_PACKET;

public const TYPE_NORMAL = 0;
public const TYPE_MISMATCH = 1;
public const TYPE_USE_ITEM = 2;
public const TYPE_USE_ITEM_ON_ENTITY = 3;
public const TYPE_RELEASE_ITEM = 4;

Loaded Plugins

  • Show

Server Settings

  • Show